Password Protecting Folders

how do i password protect folders in my site. using asp. i run win2000 server.

View Replies


ADVERTISEMENT

Password Protecting Folders

I am developing a small e-commerce site that allows users to create an account, pay, and then download audio files.I have only been doing ASP for about 6 months and this is a new problem for me: I need to not only password protect the pages (using Sessions and checking usernames and passwords against an Access database), but I also need to password protect the audio files themselves, so that users can't just type in the absolute URL to the audio files and get them for free.

I'm guessing password protecting the entire folder that contains the pages and audio files would be the best way to go, but I have no idea how to do this, and haven't been able to find any info on it.the site is part of a larger already existing site which is on a Shared Windows hosting account, so I have no root-level access to install any new software or technologies.

View Replies View Related

Protecting Password

I am using ms access database and asp 3.0 as my front end. In my database there is a table called account and a field called password. How do I protect the password stored in the database.

View Replies View Related

Password Protecting

I've created a database for a group of about 5 people that I password protected. They all use the same user name and pass to access the website. I've used a session variable that is set to "valid" if the user and pass are correct. When the click the sign out link on any page, I use the Code:

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

Password Protecting A Website

I need to password protect all the pages of my website using ASP. Microsoft KB 301464
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q301464&ID=KB;EN-US;q301464&SD=MSDN

provides a simple way of implementing it. But I am getting the following error in the Logon.asp script and dont know how to get past it. The Script block lacks the close of script tag (%>). /PDACPO1/Logon.asp, line 45.

View Replies View Related

Secure Way Of Password Protecting

Ive seen a few examples of how to password protect my pages by either textfiles / access. But how can I make the pages so that no one can just enter the url and bypass the login page.

Im trying to create a shop site and im trying to create a maintenance page that only I have access to so that I can look at my database status without having to open the database directly. I need these pages to be completley locked from anyone but me.

View Replies View Related

Password Protecting Single Pages In Access Database Cms System

I am working on a CMS website which uses a access database.

When a user adds a page a record is added to a table in the database. The user choses the page style from a selection of 7 or 8 layouts.

I have been asked to find out if I can password protect one of those pages??

I have tried a few sites but not found much. The it has been done before is to add a password protected layout and build a login area into the site.

The effect i want is for the user to click the page and a username and password box will apear?

View Replies View Related

Password Protection - Folders/individual Files

I have been using two forms of password protection:

A) On working web sites I use an ASP script that is included in every page requiring protection: uses session - works fine

B) On quick test sites or temporary stuff I use the Windows Network Authentication provided by my web host. A whole folder is protected at once which is very convenient but it has a problem. If a user types the wrong password and is denied access, the next time they go to type the password, their browser sometimes remembers the wrong password as so they go straight to the 'access denied' 401 page.

How to proceed?

1) Does anyone know of a way of preventing all browsers from cacheing the login info.

2) Is there any way of using ASP to protect whole folders?

View Replies View Related

Individually Password Protect Multiple Directories? Password Expiration?

I have a client who wants to password protect a learning course that is set up in modules. Each module needs to have it's own password protection so users can only access them as they progress through the course.

Each user should have their own password (for each module) and, said client would like the password to expire for the user at some (predetermined?) point. Is this possible? It seems like a lot (in terms of setup), but I don't know much about password stuff.

If it is possible, can someone give me an overview of how it works (theoretically) or where to find more specific info on setting something like this up (in ASP.net)

If it isn't possible, can someone suggest what is more reasonable in terms of protecting the modules?

View Replies View Related

Password Sessions - Prompt Password Change

I created sessions to authenticate username and password. How can I utilize this same script to alert the user to change password at 3rd login? In other words when a user logs into a site after the 3 or 4th time which ever, they are prompted to change their password. Code:

View Replies View Related

Protecting Non-asp Files

how to protect pdf files from being accessed after the session has ended.(by typing the url).

View Replies View Related

Protecting ASP Code

I did write some asp code, that I sell to companies, to control several
dbases. Because I sell the code, it's not that they own the code and can
sell it further or change the code, or add some extra code to it. It's like
I'm selling a program like Excel and that they can use the program, not
change it. I'm still the rightful and intellectual owner.

Also, if you give the raw asp-code, then there is a possibility that they
change to code a bit for there internal usage only. But if I sell an update,
then they have to search and copy/past there old code in the new page, not
knowing, that everything will work eventually.

It would be a lot nicer and easer if I can deliver some protected code that
they can't change! This will make my live a lot easer regarding updates. And
I will sleep better because they can't see the raw asp code,
copy/past/change and sell it or worse, going to competitors. Code:

View Replies View Related

Protecting ASP Code ?

Is their anyway I can protect my asp code from being copied. I have created a number of include files that are quite useful and save a lot of time.

I am hoping that if another developer is enlisted to work on a project i have worked on previously, I can protect all my hard work from being plagerised.

View Replies View Related

Protecting Your Code

is there anyway of protecting your ASP code?

I have writen a few scripts that I'm allowing some poeple I know to use but I don't what them to be able to view the code, is there anyway of stoping them like compiling the code into a DLL or something?

View Replies View Related

Protecting Files

I've built an upload system but i now need to protect the files from being downloaded
without being logged into the site.What's the best scenario to implement.I'm using an access database for the site.

Here's what i have done so far.Once a file link (just the id not the file name) is clicked it will check that there's a session variable present then it will present the user with the actual file but i'm now guessing is this the best way to go.

View Replies View Related

Protecting Contents

what is the best way to protect a folder of files on an asp site so that only people who have logged into the site are allowed to view the files?

would it be best to put them inside a cgi-bin and then have a page with links to the files, or is there a better option?

View Replies View Related

Protecting Images

I am building a site that will have a number of images on it, at the moment I have the images in a Dir on the site and the paths stored in database.I want the make it as hard as I can for people to download the Images that are stored on the as some will probably be copyrighted, etc. I know watermarking the images is probably the only real way of protecting them, but I was hoping not to have to do this.

I plan to put a transparent gif in front of the images so right clicking don't work, is there anything I can do to protect the paths that will appear in the source downloaded to the browser?

View Replies View Related

Protecting Code

Imagine you could encrypt your asp pages and then using a dll run the pages as normal do you think there would be a market for it. Obviously the dll would need to be registered on the server, but once registered you never need to register it again, if the asp page changes then just re-encrypt it.

One advantage I could see for it is db connections or when writing scripts for other companies but want to protect some of the routines you might have written. But what do you think.

View Replies View Related

Protecting Images

I am after a solution to people both linking to my images and putting the paths into their browsers manually (when they know the format, after viewing the site normally). The reason is that the site has banners, and the only way I can keep it up (afford the hosting) is by successfully serving a banner along with the image requested.

I know xoom and those sort of hosting places have this technology. so it exists, and I'm sure many of you know what I'm talking about. My site will be wholly written in ASP, so hopefully there is an ASP solution. It will also use a mysql db (if that info is of any use).

This is extremely important. If I can't find a workable solution, the new site will never be launched.

View Replies View Related

Protecting Applications

I've finally written an asp app that is worthy of resale and would like to hear from you who have done the same. What is the best way to protect my application? I would like to stay away from anything that has to be registered on the server as most of my target audience will not have physical access to their web servers. They will just upload the code to their server and set directory permissions for the database.

I 've purchased asp scripts myself in the past and had to provide a domain name where it would be running. It would not run on any other domain but the one I provided. Is this a practical approach or is there a better way? How is it done? I've also seen posts about putting some of the vb code into an activeX dll. Is this a solid solution? Again, How is this done?

View Replies View Related

Protecting A Folder

I have a site with restrict access where people can download documents in pdf format. All documents reside in a folder. My problem is that if the person puts the full path to the document in the browser (ex. www.mysite.com/documents/documentx), he can download the document even not being logged in. What is the best way to create a protected folder that I can access via ASP (with a password) to get the document to the user ?

Is there any way to do it without saving files to a database or having to use windows basic authentication ?

View Replies View Related

Protecting Directory Contents

Lets say I have a folder 'members/3/'. in this folder are images. I have a login page that connects to a database to retrieve user info. After login the user is directed to a page that lists the files in the above directory.

Now lets say some other user goes to the directory and types in members/3/image1.jpg he/she will now see the image. How can I stop this without using ntfs permissions.

View Replies View Related

Protecting Directories And Redirecting

Is there any way to setup a multiple password page where if user1 logs in it will take him to dir1 and if user2 logs in it will take him to dir2 and so on. Basically, we need a page that checks to see if the user name and password exists and then redirects accordingly.

View Replies View Related

Protecting Page View

I've got a site going that has pages protected by a login script. I have a logout button that simply redirects to a session.abandon page. Obviously people can still access the protected pages by hitting the back button on the browser (although they cannot go to any of the other pages by using the buttons on those pages).

Is there a way to protect the pages so that the user can't return to a page by using the back button? Or somehow force one of those "page expired" conditions so that a passerby couldn't snoop confidential information?

View Replies View Related

Protecting Asp Pages From Working On A Different Server

I want to install asp and access on a server, is there way to password protect asp pages from being accessed directly?. I don't mean via web.But being accessed from the server directly?

Is there way to ensure that the asp pages works on the computer/server it has been installed on and not for any other comp?

So if some new admin tried to copy those asp pages to another computer,they would not work.

View Replies View Related

SSL Folders

I have a domain www.company.com and also a sub domain like
forum.company.com I have learned that the sub domain is actually a
folder under my main domain so if I typed www.company.com/forum - it
would go to the same file as if I typed the sub domain, unfortunatly
all the files in the subdomain point to root paths eg:
/Images/logo.gif

This isn't a problem as the subdomain is seperate and I treat it like
its a new website.

I was wondering before I spend more money and activate a 10mb SSL
folder - how would I actually code for this folder?

Is the SSL on a seperate server, or just a folder off the main domain
name?

I want to do a register system "username" etc & some personnal details
through a sercure line.

Can anyone point me to where I can get more info?

View Replies View Related

Translating Folders

My web site is entirely based on XML/XSL. Transformation of XML into HTML is a
server-side process. All my URLs are like this:
http://host/Application/?Document=AnyDoc&Chapter=3. There is only one script,
default.asp, in the root web that processes requests and displays HTML content
based on the query string.I'd like to intercept calls to http://host/Application/Catalog and translate into http://host/Application/?Document=Catalog before it is passed to the custom
error 404 handler. Can it be done - do I need a HTML filter or something?

View Replies View Related

Hyperlink Sub Folders

I am writing an intranet and want to be able to hyperlink to all files
within a specific folder AND it's subfolders. Whilst I can hyperlink to the
files in the specified folder AND I can also iterate through the subfolders
and list them, for some reason I cannot hyperlink to the sub folders. I am
writing this software at home using a computer that has IIS and Windows 98
and am accessing this as my server from another computer on my network.

My Home Page on the Server is http://maxitek (the name of my Windows98
Computer) and when I look at the value of the variable "PathSpec" - it
becomes C:Inetpubwwwroot which when I try to create links to the sub
folder it is probably here where the problem is. The files themselves link,
but not with their full subfolder names, i.e., for a file called
"C:Inetpubwwwrootmytestmytest2mytest.txt" I am getting a link that just
looks like this Code:

View Replies View Related

Creating New Folders

I've looked everywhere and can't seem to figure out how to create folders. I've got a tonne of other stuff sussed and am about to attempt creating text files, but folders elude me still.

View Replies View Related

Create Folders

I have written some ASP code that creates a group of folders using the FileSystemObject. It all works fine when the folders are being created on the same server becuase I have the correct permissions. The problem is that the code is going to be activated when people do something on our intranet. The guy in IT has set up the permissions for the Inetuser account so that in theory it should work.

It isn't working though. The first place it falls over is when I check to see if a folder exists on this other server, it doesn't find it. I am trying to access it using the full path i.e.

If fso.FolderExists(//servername/folder1/folder2)) then...

That doesn't seem to work though because it doesn't find it when it definitely exists. Does anyone know how I should be doing this?

View Replies View Related

View Folders

I expect this has been covered before but I can't anything to reflect this. How (with code) can you view folders within a directory from within a drop down menu?

View Replies View Related

Searching In Folders?

How can I use these search scripts to search in folders ? Now the search is only going through the folder where the script itself is. Code:

View Replies View Related







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