Questions tagged [password-protected]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
7 answers
3k views

is it okay to use random URLs instead of passwords? [closed]

Is it considered "safe" to use URL constructed from random characters like this? http://example.com/EU3uc654/Photos I'd like to put some files/picture galleries on a webserver that are only to be ...
stew's user avatar
  • 241
9 votes
1 answer
5k views

Nginx protect directory with password, except for specific ip's

In my Nginx setup I would like to password protect some website, except when I access it from my ip at home. How do I set this up? Also, except for getting access to my home pc, is this safe?
Peter Smit's user avatar
  • 1,679
6 votes
5 answers
4k views

In UNIX, is it possible to password protect a directory?

Is there a way to password protect a directory in UNIX? Something like: ~$ cd dir ~$ Password: ~/dir$
Donovan's user avatar
  • 163
5 votes
2 answers
7k views

How to change the password for [email protected] and [email protected]

I was looking at the users in my mysql.user table and noticed that there are 3 roots. root@localhost [email protected] [email protected] When I first discovered this none of the roots were password ...
jasonaburton's user avatar
5 votes
1 answer
7k views

Does nginx auth_basic work over HTTPS?

I've been trying to setup a password protected directory in a SSL website as follows: /etc/nginx/sites-available/default server { listen 443: ssl on; ssl_certificate /usr/certs/server....
monde_'s user avatar
  • 51
4 votes
3 answers
1k views

Linux: How to automate creation of password-protected backup archives

If one doesn't want to dig into sophisticated backup solutions, it is always possible to write a shell script that gathers data and compresses it. Because of privacy issues one might want to encrypt ...
Anonymous's user avatar
  • 1,570
4 votes
1 answer
1k views

Password protect vhost virtual document root

I have the following setup for automatically generating subdomains/virtual document roots configured in /etc/apache2/apache2.conf (running on Debian 7.0) <VirtualHost *:80> ServerAlias * ...
hannenz's user avatar
  • 143
4 votes
1 answer
441 views

Does nginx have a directive analogous to Apache's <Directory>?

I'm trying to set up an nginx server to replace our current setup based on Apache. Our users have password protected directories (with directives in .htaccess files) which we need to keep protected in ...
juanrpozo's user avatar
  • 161
4 votes
0 answers
928 views

How can I password protect an IIS directory with only FTP access?

How can I password protect an IIS directory when I only have FTP access to the server? I can't adjust any IIS settings or add users or anything like that. The answer to: IIS Basic Authorization ala ...
Tony Adams's user avatar
3 votes
1 answer
11k views

How to exclude a sub-folder from HTaccess RewriteRule

I have WordPress installed in my root directory, for which a RewriteRule is in place. I need to password-protect a subfolder ("blue"), so I set the htaccess in that folder as such. Problem is that ...
amb9800's user avatar
  • 31
2 votes
2 answers
245 views

Setup Apache Password Protection

I have some difficulties setting up password protection in Apache In .htaccess, I have AuthUserFile /var/www/vhosts/domain.net/httpdocs/.htpasswd AuthGroupFile /dev/null AuthName "Test Server" ...
Jiew Meng's user avatar
2 votes
1 answer
2k views

Setting up a password protected download page on an OS X server

I need to setup a password protected download webpage on my OS X server, can anyone link me to some good resources that might help me do this?
user16390's user avatar
  • 201
2 votes
1 answer
330 views

Teamcity LDAP encryption

I wondering if it is possible to use teamcity with LDAP encrypted master password? The idea is to be able to use LDAP with Teamcity without ability to get access to LDAP master passwords (create/...
fish's user avatar
  • 21
2 votes
1 answer
1k views

Password Protect Virtual Directory With .htaccess

I have a site with a virtual directory structure like mysite.com/folder/title which is actually a .htaccess rewrite to mysite.com/f/index.php?p=title. I want to password protect the folder folder with ...
jkeesh's user avatar
  • 136
2 votes
2 answers
2k views

Apache authentication inside a WordPress install

I am currently running into an issue with trying to password protect a directory that is sitting inside a directory that's running WordPress. This is for a directory called "admin" that handles a few ...
Charles Chadwick's user avatar
1 vote
5 answers
2k views

Enforcing a single-use policy with .PDF files

My organization has some Confidential (as in statutory requirements confidential) documents that go out to certain people and committee groups prior to their release into public domain. These ...
user avatar
1 vote
1 answer
421 views

Is it possible to capture traffic to the remote web server

I noticed that my user name and password is sent bare text to the remote server inside HTTP POST request. This is a sniffed packed from Wireshark POST /***URL*** HTTP/1.1 Host: ***DNS NAME*** Content-...
oleksii's user avatar
  • 266
1 vote
1 answer
3k views

Nginx Password Protect Entire Port Number 8081

I'm trying to password protect an entire port on my website--https://domain.com:8081 and http://domain.com:8081 I have tried editing /etc/nginx/sites-enabled/domain.com.vhost by adding the following ...
Pamela's user avatar
  • 187
1 vote
1 answer
277 views

Debian Simple Gui for adding/removing users for protective directories

We have a hosted site with a directory that is password protected. I need to have a user who knows very little about computers, maintain the users that have access to this directory. The list is ...
ErocM's user avatar
  • 226
1 vote
1 answer
2k views

Apache/htaccess - password protect a site by domain name

Is it posible to protect a website if the site was called by a given domain name? e.g. www.domain.com -> no password protection www.domain.net -> password protection Both of the URLs are routed to ...
Marlon's user avatar
  • 11
1 vote
0 answers
384 views

How do I allow pass through access to a new shared drive on a Windows Server 2008 R2 box?

I am trying to allow access to a shared drive on our server (running windows server 2008 R2) so that users (running windows 7) can access the files on it. However, whenever they try to connect, it ...
Reyn's user avatar
  • 11
1 vote
0 answers
348 views

How to protect or hide a web application on GlassFish?

I have to deploy a ready web application on a public GlassFish instance. The itself has user management and users must be registered to login as we all know it. However I have to protected or hide the ...
Oliver F.'s user avatar
  • 145
0 votes
1 answer
1k views

Server has phpmyadmin setup, but does not require a password to access

Our company has recently taken over a website job. The site is riddled with security holes that I'm painstakingly patching. One of the issues is that the previous developer set up phpMyAdmin but did ...
kylex's user avatar
  • 1,443
0 votes
1 answer
327 views

NGINX "password" protect directories

I have an nginx server. I'd like to have directories available online but only if a certain password is supplied. Would it be bad to do something like: location /password=mysuperstrongpassword { ...
eatonphil's user avatar
  • 183
0 votes
1 answer
798 views

WireGuard config protection

I want to set up WireGuard in the corporate network instead of OpenVPN. How can the client's config be protected from theft or loss? If the client's config falls into the wrong hands, then attackers ...
picapica's user avatar
0 votes
2 answers
747 views

.htaccess password protect a file in a certain directory

I have files with the same name in different directories on the serves (example: stats.php), and I want to password protect some of them (.htaccess file in the root directory). I tried "FilesMatch" ...
Mike's user avatar
  • 143
0 votes
1 answer
4k views

Disable Admin password requirement on Domain user PC

So here is my situation: My company runs a "Windows 2003 Server Standard Edition" domain server, connected to a bunch of Dell Optiplex PC's (380's, and 9020's). The older Dells (380) are connected to ...
river226's user avatar
0 votes
1 answer
4k views

Can't receive password-protected archives in Exchange 2007

First off, the relevant environmental information: I'm running Exchange 2007 behind a Barracuda Spam & Virus Firewall 300. Recently, I've started using a service that sends me a monthly report. ...
Seyren's user avatar
  • 141
0 votes
1 answer
449 views

How do you password protect a server on a Mac running Apache?

I've seen tutorials on how to show a little box on the main page that you have to know the password to, but I want it where that textbox pops up and asks for a username and password, like the style ...
user avatar
0 votes
1 answer
33 views

how do i edit the username and password prompt window for my protected virtual path?

I am using abyss web server X2 to create this username and password prompt window for my protected virtual path. I would like to edit this prompt window or pop up with my custom text for the visitors....
morgansbyers's user avatar
0 votes
0 answers
957 views

Nginx server trying to password protect dir gives 403 Forbidden

I did sudo htpasswd -c /etc/nginx/.htpasswd user_a to create my user and pass Then I added this to my site block location location ^~ /administration { auth_basic "Restricted"; ...
user3273412's user avatar
0 votes
1 answer
185 views

use IP depended rule in .htaccess to password protect a web folder

i use following code in .htaccess file to usr/psw protect a web folder. However i want to protect this folder only if its accessed outside of 192.168.178.* How can i do this? AuthUserFile /var/www/....
Kupe3's user avatar
  • 115
-1 votes
1 answer
75 views

ssh key unlock password some hosts some not

I'm having some issues which i can't figure out, i guess it's a noob question but its giving me a hard time. I have multiple servers, you can only connect via SSH with a key. They all have the same ...
user3193469's user avatar
-1 votes
2 answers
809 views

password protect my website with IIS7

i have a website with c# deployed on a windows server 2008 and IIS7 now it is accessible to everyone, but i need to passsword protect it (like with .htaccess) for now i only managed to deny any ...
Armance's user avatar
  • 111