|
Is there a way to deny direct access to a XML file without affecting access to the SWF?
Started by Alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
access to the file to the right request, so if someone understands the scheme it'll be able.
|
|
How can I deny access to a file I open with fstream? I want to unable access to the file while I'm reading/writing to it with fstream?
Started by sofr on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
On windows, it looks like you have to pass some flags to CreatFile or... .
I'm not really sure how to do it on Windows .
On Linux/UNIX, you can do this with flock or fcntl .
There is no way to do this in native C++, as it would be highly platform dependent .
|
|
In linux,
if a user belongs to 2 groups. 1 group gives the user access to a file (say read) the other group doesn't allow them access.
Is there a way to deny access to a file EVEN if a group the user belongs to is giving him read access?
Answer Snippets (Read the full thread at serverfault):
File permissions have only one.
If the user shouldn't have access, then the user shouldn't belong to that group / role or the group / role shouldn't have access.
Last I knew this wasn't possible.
|
Ask your Facebook Friends
|
I have a .ini file with sensitive information in my php wab app. I denied access to it using a .htaccess file:
<files my.ini> order deny,allow deny from all </files>
I don't have access to folders outside of htdocs, so I can't move the .ini...
Started by lajos on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If its.
However, if you're using a shared hosting environment, it might be possible for other users to access your ini.
The .htaccess will block access from the web.
Is pretty much your only option.
|
|
I want to deny direct access to all .php files except one: index.php
The only access to the other .php files should be through php include .
If possible I want all files in same folder.
UPDATE:
A general rule would be nice, so I don't need to go through...
Started by Johan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
OR, you can use modrewrite|*\.gif|*\.css|*\.png)
In index.php, add an access value like this:
$access = 'my_value';
In every other file, include this check before ....
")) die('No direct access');
to the beginning of the other files.
|
|
As all you know, Sharepoint 2003 has simple access rights privilages. You can only grant rights (Reader, Contributor, Administrator) but unfortunatelly you can not deny access. So, if someone is not welcome in SharePoint portal there is no simple way ...
Started by Paweł Grądziel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So just add the users/domain groups that should have access.
Then they don't have access.
|
|
My hypothetical website doesn't allow anonymous access and uses Forms Authentication. So the initial request for www.example.com/SomePage.aspx is redirected to www.example.com/Login.aspx?ReturnUrl=SomePage.aspx.
However users can still access URLs that...
Started by batwad on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For More information click IIS Extention Mapping
There are some ways that will help you solve this problem : Permission... .
You can use IIS Extention Mapping.
This you have to configurate in ISS.
Yes - You must register ASP.NET for every file (.*) extension .
|
|
Although I am pretty sure this is correct, I still can't get my .htaccess to behave like I intend. Here it is:
<Files test.php> Order Deny,Allow Deny from all Allow from 000.000.000.000 </Files>
(Of course 000.000.000.000 was my IP (which ...
Started by Marcel Korpel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Httpd.conf file is denying access httpd.conf file is not allowing override of some directives You aren't.
|
|
Is there efficient and easy way to use IP blacklist ( like this one , but perhaps 2-3 times larger, which can't be simplified to CIDRs much) to deny access to a web server (either lighttpd or Apache) using standard/userspace software (no kernel recompilation...
Started by porneL on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
You can use chains-using-honeypot-wordpress....
Sort of.
Hosts.allow :
ALL : ALL : allow httpd : /etc/hosts.httpd.deny : deny sshd : /etc/hosts.sshd.deny : deny
AFAIK Deny rules in Apache config and iptables have linear lookup time.
|
|
We have a rails application in subversion that we deploy with Capistrano but have noticed that we can access the files in '/.svn', which presents a security concern.
I wanted to know what the best way to do this. A few ideas:
Global Apache configuration...
Started by csexton on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
E.g/conf.d/subversion.conf
In your svnauth.conf....
/.*> Deny From All </DirectoryMatch>
If you don't, you can do something similar in .htaccess files with FilesMatch
Create a access rights file in your subversion server installation.
|