Questions tagged [password-protected]
33 questions
12
votes
7 answers
is it okay to use random URLs instead of passwords?
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 accessed by a small group of users. My main concern…
![](../../users/profiles/85282.webp)
stew
- 231
- 1
- 5
8
votes
1 answer
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?
![](../../users/profiles/261.webp)
Peter Smit
- 1,649
- 4
- 21
- 37
6
votes
5 answers
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$
![](../../users/profiles/72013.webp)
Donovan
- 163
- 1
- 3
5
votes
1 answer
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.crt;
ssl_certificate_key /usr/certs/server.key;
…
![](../../users/profiles/102177.webp)
monde_
- 51
- 1
- 2
5
votes
2 answers
How to change the password for root@127.0.0.1 and root@example.com
I was looking at the users in my mysql.user table and noticed that there are 3 roots.
root@localhost
root@127.0.0.1
root@example.com
When I first discovered this none of the roots were password protected. I managed to password protect…
![](../../users/profiles/69125.webp)
jasonaburton
- 263
- 1
- 4
- 9
4
votes
1 answer
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)
ServerAlias *
UseCanonicalName Off
VirtualDocumentRoot…
![](../../users/profiles/228052.webp)
hannenz
- 143
- 5
4
votes
3 answers
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 the backup archive by using a suitable tool…
![](../../users/profiles/10474.webp)
Anonymous
- 1,540
- 1
- 14
- 18
4
votes
1 answer
Does nginx have a directive analogous to Apache's ?
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 the new setup.
As far as I can see, nginx…
![](../../users/profiles/139370.webp)
juanrpozo
- 161
- 3
4
votes
0 answers
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 .htaccess/.htpasswd in apache
does not help as I…
![](../../users/profiles/105817.webp)
Tony Adams
- 163
- 8
3
votes
1 answer
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 the root htaccess RewriteRule is applying to "blue"…
![](../../users/profiles/27513.webp)
amb9800
- 31
- 2
- 2
- 3
2
votes
1 answer
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?
![](../../users/profiles/16390.webp)
user16390
- 201
- 1
- 2
- 9
2
votes
1 answer
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/edit users knowing this password).
![](../../users/profiles/144422.webp)
fish
- 21
- 2
2
votes
2 answers
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"
AuthType Basic
require user testuser
Then in…
![](../../users/profiles/71536.webp)
Jiew Meng
- 21
- 1
2
votes
1 answer
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 .htaccess, and know how to do that with actual…
![](../../users/profiles/53713.webp)
jkeesh
- 136
- 3
1
vote
0 answers
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 prompts them for a password and says that "Access is…
![](../../users/profiles/245397.webp)
Reyn
- 11
- 1