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 Repliesthe 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 Replieshow 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 RelatedIm 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 ?
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 RelatedI 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?
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?
I have a folder that is protected, the users login with their unique
username and password, these are held in a text file.
Is this information logged in a way that I can use the login name as a
variable for use on my page, such as if I login as Jon the page can display
"Logged in: Jon"
I need to display a URL that links to a password protected wiki (htaccess) on an apache server. I'd like to include the userID and password in the URL so that the user is not prompted for it on the wiki end. If I was linking to another ASP page I could send the login info in the querystring, but how is this done with apache? Is this even possible?
View Replies View RelatedI am facing a strange problem, let me explain the problem and list two different platform i found on some of the client pcs. Problem :-
First time login in to my application page is ok, but if click logout, it wouldnt bring back to login page, it just stay as it is. But if you click on one of the link, it push back to login page.
So for second time to login, no matter how many time you try, it would not able to login.
And i found out if i clear those IE's cookies and offline file, i can login again.
Clients
1) Window2000, IE 6
2) WindowXP, IE 6
And there is only happen certain user's pc, some others user even with same spec have no problem. And I found out if i login into window using different domain user, it does'nt have problem. Is it something to do with user profile of IE setting
i need a simple ASP code for creating page with login and logout function.anyone can help me?
View Replies View RelatedI have a gaming web site and I would like to have a login and logout which they have to register for. I using a asp host and I'm using ms access for my database.
View Replies View RelatedI want to implement a 15 minute time lag between logout and login of a new account. If the user sharing the same PC with his friends to log on to my site, he need to wait for 15 minutes after logging out before logging in a new account.
So once a user leaves my site or logs out and wants to login to my site with different username he has to wait for 15 minutes before he can log on again with different username.
I have a login page, which will redirect to edit.asp if the login credentials entered are correct. I am not using the golbal.aa file, so all sessions are set using the Login Page.
1 Side question before i go any further, does "Session.Abandon" abandon all sessions? Code:
I am creating a login logout session. At the time of logout I called session.abandon so that all the cookies will be deleted but the user is able to access previous pages through back button.
This shows that the cookies are not getting deleted still after doing session.abandon. Do any one has any solution for this? Is it possible to delete the history information through ASP-Vb script?
I am a system administrator whom has been charged with the logging of user activities on my network. I want to track when a user logs into a machine, logs out of a machine or locks a system.
Is there an application out there that I can run on my server or a client based app that anyone knows of? Or do I have to make this from scratch?
I just want to know that how can i logged in using active directory login on ASP page also i need to redirect pages according to the GROUPs i.e if user succsesful login than it will redirect pages according to the user GROUPS, if user is in Finance Group then it will redirect to finance page and if its in IT GROUP it wil
View Replies View RelatedI have written a script to update user information in the Active Directory using ADSI. Here is part of it:
Set User = GetObject("LDAP://<GUID=" & GUID & ">")
User.Department = DepartmentName
User.SetInfo
Set User = Nothing
This works fine unless DepartmentName is an empty string ("").
Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid."
This happens with all the attributes I have tried, including TelephoneNumber
.
Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?
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.
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 RelatedHow do I call a page in a password protected directory? In other words, I had my admin make a directory protected with authentix and now I want to use a page outside that directory to call a page inside that directory. How can I do this
How can i open an Acces Database protected by password in ASP ? To open a Acces Database without password, my code is :
conn.Open "DBQ=" & Server.MapPath(".") & "d1.mdb" & ";Driver={Microsoft Access Driver (*.mdb)};" ...
I have pass protected files within a directory adequately and included a function that ensures the http_referer is the secured folders index file so that I can be sure the file they are calling is opened up as an include within the index file.
My problem is what if it is a pdf or word doc or pp file. It is a bit of a training directory and they may use various forms of presentations. Now in cold fusion I can control the whole directory by implementing the application.cfm file but I know of no way in asp to do this.
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.
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.
I need to look up what user name was used to login to a protected directory using ASP.
I don't want to create a login page, etc. It shouldn't be necessary. Only employees who already have user accounts need to log in to the webapp and the protected directory login box is all the security I need. I just need to be able to access the username that they used in my application. Code:
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.
Can anyone suggest a (preferably site based ) component for searching asp
pages that are protected by sessions?
A client wishes to enable a search that can index pages irrespective of
security.
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.
I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:
set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXMLHTTP.Open "POST", "https://website.com/validate-login2.asp", false
objXMLHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXMLHTTP.Send "Username=uname&password=pwd&company=O"
That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?
I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?
everytime a user logs out from the protected pages he doesnt really logs out
cuz when he hits the "back" button he can access the pages again.
i tried session.abandon(), but and response.addheader.....
i practically used everything and it didnt work...
when i click log out that you can not return in previous page how can i do that.
i have a code logout but when i click going to redirect to page( login.asp) thats right but when you click the back button he return to admin_control.asp
how can i avoid that.
When click log out that can not return to previous page how how
I got the logout code correctly however because my main menu page is divided up into 3 frames, left is content and that's where my logout link will be. When I click logout the login.asp is displayed but on the left frame. How do I get the page to delete the frame. Do I do it in logout.asp
<%@ Language = "VbScript" %>
<%
if request.querystring("cmd") = "logout" then
session("StudentNo") = 0
Response.Redirect("login.asp")
End If
%>
Is there someway to prevent users from using the "go back one page" function to go back to the previous page after they are logged out
View Replies View Related