Questions tagged [authorization]
156 questions
0
votes
1 answer
Require user based on URL?
I'd like to require user user1 when the URL is /foo/user1/*, user user2 when the URL is /foo/user2/*, etc. Is it possible to do this?
For example, I'd like to do something like this:
AliasMatch ^/foo/([^/]+)(/.*)? /home/$1/foo$2
![](../../users/profiles/84843.webp)
Richard Hansen
- 3,640
- 1
- 18
- 17
0
votes
1 answer
IIS: selective access to folders
Site MyGreatCompany.com is served by an IIS webserver through SSL and basic authentication.
The root directory and all subdirectories should be accessible to every authenticated user, except for subdirectory /wwwroot/yearlyperformancereviews/ (and…
![](../../users/profiles/150818.webp)
aag
- 407
- 1
- 6
- 17
0
votes
4 answers
Protect Files from unauthorized access
I have this very big problem I've been trying to solve for last few days with no success. I have some files which are class schedules, these are imported to the server from an external source (html format). I need to block direct access to those…
user1515145
0
votes
2 answers
Can I have Authentication without authorization checks with apache 2.4?
When I do not provide a require directive, apache 2.4 seems to ignore authentication and just lets the user access the url.
Is there way to turn off Authorization checks and only worry about Authentication? I want to know who is logging into my web…
![](../../users/profiles/138627.webp)
Xylene
- 1
0
votes
1 answer
Apache2 filtering Auth headers
I'm running PHP 5.3.6 as Apache 2 module (phpinfo ServerAPI says "Apache 2.0 Filter") in a Ubuntu machine. I have a PHP application and I want a iOS client to send it information under https. Concretely, I want to send a oAuth2 token in…
![](../../users/profiles/61654.webp)
Jorge Arévalo
- 197
- 1
- 11
0
votes
2 answers
Working out some quirks of a master SSH server
I am starting a web hosting company and there are a few details that I have yet to figure out, one of them being some sort of SSH VPN to connect to our servers running CentOS 6 with cPanel.
So this is what I am looking to do...
1) Have a master…
![](../../users/profiles/117859.webp)
Kyle Ross
- 103
- 4
0
votes
1 answer
OpenSSH scp restrictions a-la gitolite
Does anyone know of some software that would allow to restrict/tune the scp experience on a single unix user, based on SSH keys?
Similar to what gitolite does, or more flexible what rssh can do, but without chroot level tricks, so that any…
![](../../users/profiles/89461.webp)
martin
- 101
- 1
0
votes
1 answer
authorization: application pool identity cannot access path
I have two very similar ASP Classic apps that both use Windows Authentication and run on the same development PC (Windows 7/IIS 7.5).
They've been around for years, and have 'travelled' with me as I've upgraded PCs through the years. One works…
![](../../users/profiles/21408.webp)
CJM
- 730
- 2
- 12
- 28
0
votes
2 answers
Restrict access to website
All,
I have developed an internal website for a firm and then need to restrict access to only the internal workers. i.e. connected to their own wireless network. For anyone outside the network, the website should not open up at all. For those in the…
![](../../users/profiles/47610.webp)
name_masked
- 155
- 1
- 1
- 6
0
votes
1 answer
Can Apache deny access if REMOTE_USER doesn't match the subdomain?
I'd like to deny access if the REMOTE_USER does not match SUBDOMAIN.example.com. The site is protected by Require valid-user (as usual). Currently anybody can access all areas so long as she's logged in.
The intended behavior is this:
alice can…
![](../../users/profiles/80252.webp)
awendt
- 145
- 6
0
votes
2 answers
Implement blacklist/whitelist + LDAP authentication in Apache
In Apache, what would be the best way to only give access to users who pass the two following tests:
User does not appear in blacklist (alternatively, appears in whitelist)
User has valid LDAP user account
I already have the second test in place…
![](../../users/profiles/23161.webp)
Rodrigue
- 99
- 1
- 6
0
votes
3 answers
Active Directory problems while trying to perfom compare operation
I have CentOs 5.5 with Apache 2.2 and SVN installed. Also I have Windows 2003 R2 with Active Directory.
I'm trying to authorize users via AD so each user have access to repo if he is a member of corespondent group in AD.
Here is my apache…
user56683
0
votes
2 answers
Set up FTP user with ProFTPD on Ubuntu
I want to set up a user "ftp" so they can upload and download files in my /home/httpd/mysite/public_html directory.
All files in public_html are owned by user "ftp" and in group "www-data" so the ftp user looks like so:
uid=108(ftp) gid=33(www-data)…
![](../../users/profiles/54089.webp)
kidrobot
- 101
- 1
- 3
0
votes
1 answer
Grant access only to certain ad domain group on IIS6, for web pages running asp.net and php
We are running IIS6 on Windows Server 2003 machine. We have a php based page (MediaWiki) and an asp.net MVC page. How can we configure IIS and Windows to allow access to this web pages only for selected AD domain groups, preferably without touching…
![](../../users/profiles/45957.webp)
Gregor Slavec
- 111
- 3
0
votes
1 answer
How to do a database backup in DB2 in Vista?
How to do a database backup in DB2 in Vista?
Whenever I issued this command (login in Vista as Administrator):
restore database myDB from D: taken at 20081013134446
the command line processor return the following error message:
SQL1092N …
![](../../users/profiles/41500.webp)
Muhammad Hewedy
- 101
- 5