Click here to Skip to main content
15,891,316 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Table vs absolute position Pin
Mohammad Dayyan27-Jan-09 0:02
Mohammad Dayyan27-Jan-09 0:02 
AnswerRe: Table vs absolute position Pin
netJP12L27-Jan-09 8:48
netJP12L27-Jan-09 8:48 
QuestionAny update to IIS7 gives me error HRESULT:0x80070005 (E_ACCESSDENIED) Pin
softwareengr23-Jan-09 12:57
softwareengr23-Jan-09 12:57 
AnswerRe: Any update to IIS7 gives me error HRESULT:0x80070005 (E_ACCESSDENIED) Pin
souidi abderrahman16-Jul-10 6:15
souidi abderrahman16-Jul-10 6:15 
QuestionGridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Steve Holdorf23-Jan-09 8:04
Steve Holdorf23-Jan-09 8:04 
AnswerRe: Gridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Rajdev Ramasamy26-Jan-09 23:30
Rajdev Ramasamy26-Jan-09 23:30 
GeneralRe: Gridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Steve Holdorf27-Jan-09 4:57
Steve Holdorf27-Jan-09 4:57 
Questionblock access to none aspx folders Pin
tomertro23-Jan-09 3:38
tomertro23-Jan-09 3:38 
Hello

I develop a web site wich have folder containe files that are not with aspx extention like(*.doc, *.txt , etc).

The website using Forms Authentication and i put a web.config in the folder :

<?xml version="1.0" encoding="utf-8"?>

<configuration>

<system.web>

<authorization>

<deny users="?" />

<allow roles="teacher" />

</authorization>

</system.web>

</configuration>

It is block access to aspx pages but if I attempt to open a file as an anonymous user by entering the full path into IE address bar, the file will open. Opens even with anonymous access supposedly blocked by the web.config file.

I have already view Scott Guthrie blog entry about Integrating ASP.NET Security with Classic ASP and Non-ASP.NET URLs which can be very helpfull but since the website will store on remote web server i am not sure that i will have access to the IIS.

Can you suggest any ideas?
I am looking for a solution that i can deploy in code.

Thanks...
AnswerRe: block access to none aspx folders Pin
led mike23-Jan-09 5:44
led mike23-Jan-09 5:44 
AnswerRe: block access to none aspx folders Pin
N a v a n e e t h23-Jan-09 17:11
N a v a n e e t h23-Jan-09 17:11 
Questioncontext.Response.Write is not working on mozilla,safari ... Pin
nmathur2322-Jan-09 22:13
nmathur2322-Jan-09 22:13 
AnswerRe: context.Response.Write is not working on mozilla,safari ... Pin
Aman Bhullar22-Jan-09 23:28
Aman Bhullar22-Jan-09 23:28 
GeneralRe: context.Response.Write is not working on mozilla,safari ... Pin
nmathur2323-Jan-09 0:06
nmathur2323-Jan-09 0:06 
QuestionCatching ok button when pressed Pin
samerh22-Jan-09 19:26
samerh22-Jan-09 19:26 
AnswerRe: Catching ok button when pressed Pin
VenkatFor.NET22-Jan-09 20:50
VenkatFor.NET22-Jan-09 20:50 
GeneralRe: Catching ok button when pressed Pin
samerh22-Jan-09 20:58
samerh22-Jan-09 20:58 
AnswerRe: Catching ok button when pressed Pin
vaghelabhavesh26-Jan-09 16:49
vaghelabhavesh26-Jan-09 16:49 
AnswerRe: Catching ok button when pressed Pin
Ranjit Viswakumar29-Jan-09 14:35
Ranjit Viswakumar29-Jan-09 14:35 
Questionversion history is not working for Custom List Form ( WSS3.0) Pin
Raheem MA22-Jan-09 17:57
Raheem MA22-Jan-09 17:57 
QuestionDirectory Structure Pin
Civic0622-Jan-09 7:59
Civic0622-Jan-09 7:59 
AnswerRe: Directory Structure Pin
SeMartens23-Jan-09 1:18
SeMartens23-Jan-09 1:18 
QuestionAdd webpart to login.aspx page sharepoint Pin
deewaker pandey22-Jan-09 3:20
deewaker pandey22-Jan-09 3:20 
AnswerRe: Add webpart to login.aspx page sharepoint Pin
VenkatFor.NET22-Jan-09 21:10
VenkatFor.NET22-Jan-09 21:10 
Question2007 SharePoint - Need Help with Hiding Fields in a list Pin
Robb Base22-Jan-09 2:36
Robb Base22-Jan-09 2:36 
QuestionMouseOver on TD Pin
navkrishkannan22-Jan-09 1:14
navkrishkannan22-Jan-09 1:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.