Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

ASP Folder Protection

New Here ,
Sep 08, 2006 Sep 08, 2006

Copy link to clipboard

Copied

I am trying to find an ASP script that will protect a directory so that I can put documents such as spreadsheets and word documents in there without people being able to just browse to them. I already have a logon script in place (made by ASPRunner Pro) but need to protect the documents that are linked to once a user logs in. I have no experience with ASP, but a couple years of experience with other common programming languages (C, ASM, VB, HTML). Can anyone help me on how to protect this directory on a Windows server (my hosting is through GoDaddy.com)? Thank you.

Jon Wynveen
TOPICS
Server side applications

Views

280
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 08, 2006 Sep 08, 2006

Copy link to clipboard

Copied

Would just putting an empty index.asp file there help? Or perhaps ask your
host to disable directory browsing? Or are you worried about people knowing
the filename and browsing directly to the file?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"JonWynveen" <webforumsuser@macromedia.com> wrote in message
news:eds0mq$ls5$1@forums.macromedia.com...
>I am trying to find an ASP script that will protect a directory so that I
>can
> put documents such as spreadsheets and word documents in there without
> people
> being able to just browse to them. I already have a logon script in place
> (made
> by ASPRunner Pro) but need to protect the documents that are linked to
> once a
> user logs in. I have no experience with ASP, but a couple years of
> experience
> with other common programming languages (C, ASM, VB, HTML). Can anyone
> help me
> on how to protect this directory on a Windows server (my hosting is
> through
> GoDaddy.com)? Thank you.
>
> Jon Wynveen
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 08, 2006 Sep 08, 2006

Copy link to clipboard

Copied

Directory browsing is already disables on my hosting server. I'm worried about people knowing the name and browsing to it.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 08, 2006 Sep 08, 2006

Copy link to clipboard

Copied

Perhaps easiest would be to never reveal the path to the file in the
browser. Let your scripting manage the download the files from an
unidentified folder. I'm sure you can find something suitable with Google.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"JonWynveen" <webforumsuser@macromedia.com> wrote in message
news:eds2kk$o9b$1@forums.macromedia.com...
> Directory browsing is already disables on my hosting server. I'm worried
> about people knowing the name and browsing to it.


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 08, 2006 Sep 08, 2006

Copy link to clipboard

Copied


"JonWynveen" <webforumsuser@macromedia.com> wrote in message
news:eds2kk$o9b$1@forums.macromedia.com...
> Directory browsing is already disables on my hosting server. I'm worried
> about people knowing the name and browsing to it.

you'd probably have to change permissions for that folder through your
control panel with your host so it's accessible only by people with
usernames/passwords


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 08, 2006 Sep 08, 2006

Copy link to clipboard

Copied

LATEST
or put the files in a folder outside the "browsable zone", usually the
html folder in most servers

Hunter Elliott wrote:
> "JonWynveen" <webforumsuser@macromedia.com> wrote in message
> news:eds2kk$o9b$1@forums.macromedia.com...
>
>>Directory browsing is already disables on my hosting server. I'm worried
>>about people knowing the name and browsing to it.
>
>
> you'd probably have to change permissions for that folder through your
> control panel with your host so it's accessible only by people with
> usernames/passwords
>
>

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines