Securing A Directory Of Files In A Password Protected Area

I have a client who has a password protected page (via session) that lists a bunch of pdf's. They are a little worried that you are able to browse and see the pdf's via the url without being logged in.

I'm not sure if it's possible or not but is there a way after their username and passord is verified to automatically grant them permisson to view the contents of the pdf directory?

View Replies


ADVERTISEMENT

Password Protected Area

I have created a password protected area on my website using session variable. I used a pre-programmed package on the internet using ASPLogin not the very expensive company software- another more basic type from another company! A user can log in OK for the first time, however, when he/she next visits within a couple of days or more the login screen says that they are already logged in., and because of this, they cannot log in and have to wait for the session variable to expire.


I am using both Mozilla Firefox and Internet Explorer and both are having the same problem. I am not too sure of what is going wrong here, as ideally, each time they have logged out I would like them to log back in OK again.

View Replies View Related

Password Protected Directory

how to password protect a directory (downloads) on a Windows NT Server? UNIX is a breeze. It seems like you need an Act of God to get Windows to do the same?

View Replies View Related

Write To Text File In Password Protected Directory

I have a form mail script that sends an email and then writes to a text file using Server.CreateObject("Scripting.FileSystemObject").

The problem I am having is that the information needs to be saved in a Password Protected Directory. When I try to save the info it gives me a permission denied error.

I had my hosting company change the permission on the directory and the script was working ok but now it isn't.

Is there a way to pass the username and password in the script so I don't have to worry about the hosting company messing this up?

View Replies View Related

Listing All Files In A Protected Directory

I know how i can list and manage files (with the file object) on a normal directory with ASP. But i couldn't find any information on how do i list/work with files which are locaed on a password protected directory (with basick auth). how to make such a task ?

View Replies View Related

Securing Directory

I have a client who has a password protected page via session that lists a bunch of pdf's.They are a little worried that you are able to browse and see the pdf's via the url without being logged in.

I'm not sure if it's possible or not but is there a way after their username and passord is verified to automatically grant them permisson to view the contents of the pdf directory?

View Replies View Related

Securing A Password

I am using Dreamweaver with ASP VBSCRIPT and want to secure a password that the user puts in and sends to my sql server 2000 database. Can anyone give me any guidance how I could do this?

View Replies View Related

Password Protected Pages

I have a site that is using .asp mainly for SSI. There is a login section where the user types in their login and password, and this allows access to the member area of the site. So far so good. However, once in the member area, the user could bookmark that page and get back to it anytime without having to login again. Therefore, they could just email the link to friends and anybody could access it. (and yes, if they wanted they could email the login and password - but I can't stop that). I have another site that uses a single login/password to access restricted areas, but it's done with .php Any ideas about a quick code insert that could use their login/password to gain access (per session) to a certain file folder.I hope it's not an obvious answer

View Replies View Related

Protected Directory Redirect

Im running a site on IIS6 and its got a link to a protected directory.. Authentication required, so user enters their username and password and it gives them access to the directory.

now however we want to use the same link but different users.. so whoever clicks the button it prompts for login information but then redirects them to their own directory per their username/password. any ideas for me to investigate ? maybe an index.asp that waits for username and then redirects ? is there a simpler way ?

View Replies View Related

Create Password Protected Website !

I am trying to create a website where user is required to login first
to view members page.

I want user to come to my website. They can move around in free
sections where I give examples of the lessons that are to be taught.
But if they need to few the whole lesson then I want them to signup
first. Signup is free.

I want to use ASP to do that.

if you know any tutorial or have an example which tells how to do
that, please let me know.

View Replies View Related

Logout For Protected Directory Login .

the hosting control panel gives the ability ot make a login for the directory you want to secure , but i want to make a logout for this login , how could this be done ?

View Replies View Related

Search Engines And Password Protected Pages

I have a client who has repeatedly asked about getting a site-wide search engine for their website. There's arguments for and against, but I'm more worried about the practical aspects of the request.

The site is largely composed of password-protected pages. Member data is stored in an Access database. The pages are all secured by a basic include file that checks against session variables to see if the user is logged in. If "yes," they can see the page. If "no," they are redirected to a login page. Standard stuff.

One of my biggest arguments against the search engines is that since they can't get into the protected pages to index them, those pages will not be included in search results. Since the protected pages make up about 90% of the site, this pretty much renders the search engine useless.

Have any of you encountered a similar situation? Any thoughts on a way for the search engine to index those protected pages?

As far as the search engine goes, I was planning on cheating and using a form that sends requests to a simple google site search (it works surprisingly well on the non-password protected pages), although I'm open to other suggestions if you have any.

View Replies View Related

Uploading And Processing A Password Protected Word Document With Asp

An ASP page on my IIS server converts an uploaded word document to
HTML, but I'm having a problem with it failing (hanging and popup
requesting password on server!) on password protected word documents.
(web upload, backend processing and web delivery)

I spent the whole day on google to find a solution. What I am looking
for is an asp script or a property that can look at a word document and
just return a yes or no as to whether it is protected, so I can then
refuse to upload it, until the user has removed the protection.

View Replies View Related

Securing Files

How do I go about securing download files on my site so users can download those files only by clicking a link and not by typing the files address in the address bar. Is this even possible?...

View Replies View Related

Protected Download Of Files...

I am creating a series of downloadable articles, career
tools, spreadsheets, etc. However, some of the content is
for "registered" guest. The registrants are stored in a
database and logon.

I want to ensure that someone registered cannot simply
pass someone the path to the files for download. However,
I am not creating an actual system user name for the
folders where the various documents exist.

I don't want someone to logon, retrieve the path to a
file, and be able to send that path or return to that path
without having to logon.

How do I accomplish this?

Consider the following:
serverroot/registeredcontentfolders would be protected by
a single logon name - not accessible via anonymous
access. User's logon to site and I auth them with their
user name but on the server side, auth with the single
account I am establishing for access to the protected
folders.

View Replies View Related

Securing Text Files

I haven't started programming with databases yet, but instead have been saving data in asp files. The files would look something like this.... Code:

View Replies View Related

Securing Html Files

My client has purchased 'software' - it really is just a series of html documents. I need to ensure that these pages are protected and only those who log in can view them.

I am building an asp/db based login front end to ensure that users have paid for the system. I just do not know how to protect the files from there because they are html. Converting them to asp is not an option.

View Replies View Related

List Directory Files

I have a directory called 'imagefiles' that contains upto 50 images - the images are named 01.jpg, 02.jpg, 03.jpg etc, etc. What I want is a single ASP page (displayimages.asp) that will display each image with a Next and Previous button to move back and forth between each image. I know how to list the contents of a directory using the FSO object and I know the URL behind the Next/Previous button could be something like displayimages.asp?image=01.jpg to determine what image needs to be displayed. What I'm getting hung up on is how to construct the URL i.e. when the displayimages.asp file is first displayed there simply needs to be a Next button and the URL will need to be something like displayimages.asp?image=02.jpg. Then when the visitor clicks the Next button the next page will need both a Next & Previous button - the URL behind the Previous button will need to be displayimages.asp?image=01.jpg and the URL behind the NExt button will need to be displayimages.asp?image=03.jpg...but how do I get the 02.jpg, 01.jpg, 03.jpg values to form part of the URL for the image variable?? Hope you see what I mean.....oh and I don't want to use a database to hold the image file names.

View Replies View Related

List All The Files In The Directory

How would I list all the files in a directory and hyperlink to relevant document. For eg.

If user has a webpage with two folders displayed on the screen i.e. webpage or threads. User should be able to chose one of the folder in this case the user clicks on the webpage folder and list of different files in that folder appears on a separate window.

The list of files should contain different file attributes such as CREATED ON ,DATE .Once the user clicks on the file the hyperlink should take the user to the relevant document.

I attached two sample image files that user must be able to view it on their screen . When the user clicks on the first image the second screen should pop up on the screen..

View Replies View Related

Viewing Files In A Directory

is there an easy way of viewing the files in a directory without using "server.MapPath"!!!
i need to view Doc files in a folder and then open them in IExplorer to print the matter in them...

View Replies View Related

Cannot Locate Files In Web Directory

I have been given a asp legacy application, on each code file they have included some files which are located in the web directory they are,

<!-- #include virtual="/dss/includes/header.inc"-->
<!-- #include virtual="/dss/includes/classes/user.inc"-->
<!-- #include virtual="/dss/includes/classes/menulist.inc"-->


But i tried to find these files in the directory and couldn't locate them (tried searching them too, no result). My application runs perfectly fine,

Any idea how this thing works and where the files actually located.

View Replies View Related

Directory And Refresh The Files

I wanted to loop through a directory and get the names of all the files in the directory and put it in a table using the file system object and VB scrip in a DTS package.

View Replies View Related

List All Files Of A Directory

How can I list all files of a directory with fso or wsh and afterwards write its names on screen?

View Replies View Related

Password Protect Files

I have a website which contains certain files (ppts, pdfs) in its root directory. By directly giving in the URL in the address bar, anybody can access the files. I want the users to be logged into the website in order to access them.

For example, if the file location is http://abc.com/my.ppt, I would want the user to be redirected to the login page of the website when he/she tries to access this link. If already logged in, the file should download. How can this be done?

View Replies View Related

Concerning Delete A Directory With Files

I understand how to delete files within a directory using the Scripting.FileSystemObject.
However, how can I delete a directory using ASP 2.0 on an older IIS 4.0 server? Do I need to:

1. Delete all the files within the directory.
2. Change the directory's permissions.
3. Delete the directory.

Am I able to delete a directory without changing the permissions? Can I delete a directory with files inside the directory or does the directory need to be empty?

View Replies View Related

Password Protecting Files

How can I password protect files so that no one can anonymously download it? I have windows 2003 server with IIS 6.0. Please explain the steps in detail.

View Replies View Related

Delete Files In Directory!

I am wanting to delete all files contained in a directory.
I won't have the name of the file...

Can i do this somehow??

View Replies View Related

Searching Directory Files

Is it possible to develop an ASP page to search within an intranet environment. The file properties searched out and then post the properties info to an access dataset ?

I had searched for commercial shareware and other searched out items only to find applications where I can get file name, created dates file sizes. Nothing more nor expandable for additional information. And then put into a spread sheet. One did work but only on minimal property info. I need to expand to more information from the properties of specific files.

Example I used was morespace, Located all files in a specific drive, folder or etc then listed a few items into a table. I need the same ability but the capability to add and change how much information I can record from the file properties.

View Replies View Related

Unable To Read Files In Directory

IIS cannot read files in a directory reporting that :

Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Fso.GetFolder'

This has to do with Scripting.FileSystemObject.
I make sure the scrrun.dll is properly registered with regsvr32.
Still the problem persists.

Previously I do not know what I did right once in permission setting and
managed to display the said files but it went away after tweaking the
permission for make other functions available.

I scoured the web and this problem is a perrenial one. Many many suggestions
have been made even in expertsexchange site but no real solution. I don't
understand why it is so difficult to have this file system service up and
running.

View Replies View Related

Listing Files In A Directory By Date

i'm having problems trying to find information on how to write an asp
script that lists the files in a directoy

what i am looking to do is just list the 5 most recent files and list
them in descending order (newest) first

can anyone help me out here with a link, or some basic instructions,
i've found plenty of scripts that list files, but they don't explain
how its accomplished, and to me that's more important than simply
dumping a script on the server and using it

View Replies View Related

Problem Including Files From Different Directory

I'm trying to include and calling some ASP files from different directory. It doesn't work.

I need to use <A HREF>tag to link the ASP file and image file using <img src>tag. I entered the whole http://mydomain.com/....... path inside of tag. It doesn't work.

For example.

The original web page is reside in c:webrootwebpageestpagehomepage.asp

All the image files and other ASP files are reside in:

c:webrootwebpageaspfile.asp
c:webrootwebpageimagefile.jpg

In the IE browser, the link would go to
http://www.mydomain.com/webroot/webpage/testpage/aspfile.asp

Of course, it won't work because the aspfile.asp is reside in webrootwebpage, NOT in webrootwebpage estpage diretory.

View Replies View Related

Sort List Of Files In Directory

I would like to sort (descending) list of files in directory. Parameter is directory url.
How I can to do that with ASP not ASP.NET.

View Replies View Related

Code To Search For Files In Directory

point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use to go to the desired location, the connection is too slow to search.

I'd like to implement a search function on the intranet web (at the main office), where it will search a certain directory and its subdirectories and return the results as network links (using the convention); actually it doesn't matter how it displays the links, as long as it shows me where stuff is. That way the search is run on the computer where the originating directories are.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved