Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Prevent users from accessing files

Reply
Thread Tools

Prevent users from accessing files

 
 
JP SIngh
Guest
Posts: n/a
 
      04-14-2005
Hi All

We have an ASP application which links to various word and excel documents
stored in a folder called attachments.

The documents are extermely confidential in nature and we would like
restrict the access to them through the application only.

How can we prevent users from guessing the name of the document and reach it
by tying http://myserver/attachments/thisdocument.doc

Thanks in advance for your help.


 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      04-14-2005
Stick them outside of the web root or password protect the folder......(the former is the best choice IMHO)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"JP SIngh" <> wrote in message news:...
> Hi All
>
> We have an ASP application which links to various word and excel documents
> stored in a folder called attachments.
>
> The documents are extermely confidential in nature and we would like
> restrict the access to them through the application only.
>
> How can we prevent users from guessing the name of the document and reach it
> by tying http://myserver/attachments/thisdocument.doc
>
> Thanks in advance for your help.
>
>


 
Reply With Quote
 
 
 
 
JP SIngh
Guest
Posts: n/a
 
      04-14-2005
But I still need to display the hyperlinks to the files when displaying
relevant records.

Essentially I only want them to me able to view the hyperlink from the page
but not outside it.


"Steven Burn" <> wrote in message
news:...
Stick them outside of the web root or password protect the folder......(the
former is the best choice IMHO)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"JP SIngh" <> wrote in message
news:...
> Hi All
>
> We have an ASP application which links to various word and excel documents
> stored in a folder called attachments.
>
> The documents are extermely confidential in nature and we would like
> restrict the access to them through the application only.
>
> How can we prevent users from guessing the name of the document and reach

it
> by tying http://myserver/attachments/thisdocument.doc
>
> Thanks in advance for your help.
>
>



 
Reply With Quote
 
Mark Schupp
Guest
Posts: n/a
 
      04-14-2005
http://www.aspfaq.com/show.asp?id=2276. this is for images but the same
approach should work for any file.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"JP SIngh" <> wrote in message
news:%...
> But I still need to display the hyperlinks to the files when displaying
> relevant records.
>
> Essentially I only want them to me able to view the hyperlink from the

page
> but not outside it.
>
>
> "Steven Burn" <> wrote in message
> news:...
> Stick them outside of the web root or password protect the

folder......(the
> former is the best choice IMHO)
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "JP SIngh" <> wrote in message
> news:...
> > Hi All
> >
> > We have an ASP application which links to various word and excel

documents
> > stored in a folder called attachments.
> >
> > The documents are extermely confidential in nature and we would like
> > restrict the access to them through the application only.
> >
> > How can we prevent users from guessing the name of the document and

reach
> it
> > by tying http://myserver/attachments/thisdocument.doc
> >
> > Thanks in advance for your help.
> >
> >

>
>



 
Reply With Quote
 
Kyle Peterson
Guest
Posts: n/a
 
      04-15-2005
you use ADO to stream the files once a user is logged in.. that way the real
location is unkown to the users

search www.aspin.com for more info on streaming files

applications like www.ASPProtect.com can also do it for you



"Mark Schupp" <> wrote in message
news:...
> http://www.aspfaq.com/show.asp?id=2276. this is for images but the same
> approach should work for any file.
>
> --
> Mark Schupp
> Head of Development
> Integrity eLearning
> www.ielearning.com
>
>
> "JP SIngh" <> wrote in message
> news:%...
>> But I still need to display the hyperlinks to the files when displaying
>> relevant records.
>>
>> Essentially I only want them to me able to view the hyperlink from the

> page
>> but not outside it.
>>
>>
>> "Steven Burn" <> wrote in message
>> news:...
>> Stick them outside of the web root or password protect the

> folder......(the
>> former is the best choice IMHO)
>>
>> --
>> Regards
>>
>> Steven Burn
>> Ur I.T. Mate Group
>> www.it-mate.co.uk
>>
>> Keeping it FREE!
>>
>> "JP SIngh" <> wrote in message
>> news:...
>> > Hi All
>> >
>> > We have an ASP application which links to various word and excel

> documents
>> > stored in a folder called attachments.
>> >
>> > The documents are extermely confidential in nature and we would like
>> > restrict the access to them through the application only.
>> >
>> > How can we prevent users from guessing the name of the document and

> reach
>> it
>> > by tying http://myserver/attachments/thisdocument.doc
>> >
>> > Thanks in advance for your help.
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent users from adding networks =?Utf-8?B?ZXdhbGxpZw==?= Wireless Networking 0 03-09-2006 01:41 PM
Prevent two users from accessing the same file at the same time Shawn ASP .Net 2 02-19-2006 03:11 AM
How prevent users from dl my mdb VB Programmer ASP .Net 1 10-26-2004 03:29 PM
RE: How to prevent users runnin' into my customized 500 page? Charlie Nilsson [MSFT] ASP .Net 0 08-29-2003 11:34 PM
How do I prevent users from viewing a webpage directly by typing in its URL? swbaz ASP .Net 2 08-13-2003 01:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57