Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP






SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Special Anonymous Account


IIS set up after VS.NET. On a virtual directory for a web app...I go to properties and click on the 'Directory Security' tab, click the 'Edit' button,check
anonymous access, type in username/password for account, check 'Integrated Windows authentication' at the bottom...then OK out.

in web.config, I add the tag identity impersonate="true" />

startup the app in Page_Load I have...

string samp =
System.Security.Principal.WindowsIdentity.GetCurre nt().Name;

firstload I get the account I typed in above...on postback it changes to my personal windows account. strange. Also when I switch on the anon user account for the whole website it works.


View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
Anonymous User Account Name
I often have permission problems when I move my pages unto different servers.It would be very handy if I could programmatically determine the anonymous user account name from my asp page.How can this be done since it is not in the request header for anonymous requests?

View Replies !   View Related
Anonymous Authentication
One of our webdev guys is having trouble with IIS set up on his system, particularly with anonymous authentication. On all of his web instances, he can get to non-asp pages but all asp pages return 401.3. when using HTTP/1.0 or a proxy server. It doesn't seem to be at all related to the file system, because a test file has wide-open access. And it only happens with script pages; html or other files can be retrieved

The anonymous user is the one the iis install generated, and the "IIS controls the account password" box is checked. Everything looks like it's set up properly and the same way it is on other systems. There are no authentication errors in his system's event log. So what is asp.dll not liking.

View Replies !   View Related
Simple Anonymous Access
I have what I think is a simple question but I am finding nothing but
complicated answers.I have a web site running on IIS6. One directory used to use an
alternate account as the anonymous user (not the IUSR_ServerName
account) to connect to a database, etc. Now the pages in that
directory no longer do anything special and I just want to start using
the default IUSR_ServerName account again. I put that account back in,
but what do I put in as the password? I am reading all about security
improvements, network service vs. local system, unprivileged vs.
priveleged, etc. I realize there is no longer a "Let IIS control
password for anonymous account" option, but all I want to know is, HOW
DO YOU GET IT BACK TO THE DEFAULT

View Replies !   View Related
WWW-Authenticate To Force Anonymous
I have a server that hosts a few intranet sites. The one that all my coworkers have their Home Page set for causes their browser to authenticate, which is all good.

The one i'm working on now requires Anonymous Access in order to work, but the authentication from the first one is carrying over to the other. Can I use WWW-Authenticate to force anonymous access isntead of using it to force NTLM, Basic, etc?

View Replies !   View Related
Anonymous Email Form
I'm creating a simple email form with just a text area field and a submit button. I want it to send to my mailbox. I want the senders email address to be anonymous. I don't know any server side scripting, so I'm hoping somebody can tell me how to build the .asp page to send the email. Code:

View Replies !   View Related
Anonymous Access To ASP Pages Not Working
A freshly installed IIS on my Windows XP SP2 does not allow anonymous
acces to the default ASP file (localstart.asp). I just used default
configuration for installation, which enables anonymous access. But
when I load http://localhost I just get a login box. A simple
index.html placed manually for debugging purpose loads without login
prompt.

I am testing the same thing on a Windows XP (w/o SP2). ASP works for
anonymous access like a charm.

View Replies !   View Related
Anonymous User As Domain Administrator
I have several website that use asp pages and backend databases running on my win2000 server. I removed everyone from the permissions on all of my Hard drives and added the annonymous user to the winnt folder and the wwwroot folder and all of the folders within these directories. Now my sites that just run straight html work fine but my sites with .asp pages are having problems.

However if I add the Domain Administrator account as the annonymous user to the site it will work. Then I have reverted back to the I_USR account and the site still works until the server has to be rebooted. At this point the site won't work until I add and then remove the admin user as the annonymous user to the site.

View Replies !   View Related
How Can I Create New Folders On The Server Which Allows Anonymous Upload
How can I create new folders on the server, via ASP programming, which automatically allows by any user:

1. Files to be browsed
2. Anonymous upload to this directory
3. Allow uploaded files to over-write the existing file

I use the following ASP codes to create new folders, but all above options are off and I cannot e.g., upload (via ASP programming) to upload a file in the new directory because the option is off.

Set fs = CreateObject("Scripting.FileSystemObject")
set b = fs.CreateFolder(newFolder)

View Replies !   View Related
Replace Rude Names In String With Anonymous
I'm going to make a database of rude words, that i do not want users to name themselves when they use my scoreboard. I need my asp to scan their string and if a word from the database appears replace the entire string with anonymous.

I have some code which was designed to astrisk out all but the first and last letter of any appearing rude word

eg: d**n this b****y game
or godd**nit

i have changed this to just replace each word to anonymous, but cant get it to the stage above, can any one help? My code so far is below. Code:

View Replies !   View Related
Windows Account Name
How would I get a windows account name through ASP? Say I login with veamon, and the start menu says Bob Barker ...how would I get the Bob name...i can get the login name

View Replies !   View Related
Account Lockout
I'm looking for an ASP script or tutorial to lockout an account after 3 or 5 failed attempts. It should be the best way to prevent my login screen against the brute force attack.

View Replies !   View Related
IUSR_ Account
Does ASP only use the IUSR_<IIS Machine Name> to gain access to files
located on a LAN, or can another user account name and password be setup?
To create a file on another computer on the LAN in ASP using the
FileSystemObject requires permissions on that other computer. Using a DSN
for a ODBC driver requires permissions to SELECT records from a database
file on another computer on the LAN. Must I use the IUSR_ account only?

View Replies !   View Related
Godaddy Account
I have an application that references a database on my hard drive, however I am unsure how to transfer the files to the server and keep the integrity of the database reference string.

The Current DB is located on C:

[CODE]
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:database.mdb;Persist Security Info=False"
CODE]

If you have any suggestions on where to place my database in my hosting account and the reference code for it.

View Replies !   View Related
NT Domain Account
Using classic ASP I want to check if a username and password are correct
before passing the details on to an object (stocktake module) that uses
them to authenticate the object. The object defaults to a preset user if
the authentication fails and doesn't warn the user, so I wanted to do
the check manually before passing it to the object.

View Replies !   View Related
NT Account Password
I was asked by a client to make changes for their Outlook Web Access page where I need to validate Expiry Date of the Password and also the Password Length for the NT Account Policy. Initially I use javascript to do a static validation for the password expiry and password length. There request now include dynamic changes to the Javascript where if the password length is changed on the NT Account Policy, it will reflect on the client side script. Also they request for server side validation as an alternate just in case.

Can someone point me to the resources available for this. I am stuck on this one for quite a while now and no idea on how to proceed?

View Replies !   View Related
Web User Account
I am working on a commercial ASP web application which use MS Access 2000 as database.When configuring the database access,I got an error saying that this
database is a read-only database.

I checked the database property,it shows that this database is archive,not read only.I can directly make change on the database using Access, so, my guess is the problem is not really database related, am I right?

According to the instruction of the software, the database folder must have read and write permissions given to the "anonymous web user account", I have set the database folder to share and gave all permissions to "anonymous logon " and "every one", but the problem is still there. I am just wondering, what is the "anonymous web user account" in Windows 2000 server and IIS?


View Replies !   View Related
ASPNET Account
I was just looking things over and I noticed a new account under my users. It's and ASPNET user, (account used for ASP.NET worker process....) I hadn't noticed it before.
What is is? What does it do? Should it be disabled? Should I make any changes? Have been out of the loop for a while, could someone bring me up to speed.

View Replies !   View Related
Locking Account Problem
I wrote this script which for now it works fine. The purpose of this code is to lock the account whenever a particular document comes to its expiration date. So, if I have a document that expired on 7/31/06, the it should lock the user's account once they'd logged in.

However, the problem I am having is that is locking everyone that has already an expired document. What I would like it for the code to check during the current month. If a document expired, say yesterday 8/9/06, lock the account, else let then user continue to access their account. Code:

View Replies !   View Related
Email Account Sent Simultaneously
I have this page in which emails will be send simultaneously, one is to
send at the my-sites email while the other is on the users email. Problem is once the
email page is sent the my-sites email was also recorded in users email account and vise versa. Code:

View Replies !   View Related
FileSystemObject And User Account
I am using the FileSystemObject to look at the contents of a directory. The process has always worked. Recently in an attempt to increase our security, we removed full rights for everyone to files on the D:. Now I only get a blank page.

Does anyone know what USER ACCOUNT is being used to access the folder. My guess is I need to grant access to some account.

View Replies !   View Related
User Account Security
I'm trying to design a web application where people can create user Ids and passwords while signing up and then use that information to login to an account. (I know, very basic). I just can't get my mind around how to make this system most secure. the user id and password is verified at the time of logging in and at that point, I would like to create something like a session key before openning the new page.

I basically don't want to start the new page by passing regular parameters through the URL because that's very easy to manipulate and break. Can someone give me some information about creating a secure system like this and/or forward me some useful sources?? btw.. I'm using, IIS as my server, ASP.Net and VB.Net.

View Replies !   View Related
Modifying Iusr_machine Account
I have a typical internet web site that uses a VFP database on the back end which is accessed via ASP/ADO using the VFP OLEDB provider.

My ASP code for establishing a connection looked like this:

Set oConn = Server.CreateObject("ADODB.connection")

oConn.Open "Provider=vfpoledb;" & _
"Data Source=C:edsDATAedsdata.dbc;" & _
"Mode=ReadWrite|Share Deny None;" & _
"Collating Sequence=MACHINE;" & _
"Password=''"

Set cmdTemp = Server.CreateObject("ADODB.Command")
Set rsUsers = Server.CreateObject("ADODB.Recordset")

It was working just fine. Then the need arrised to move the database off the web server box and onto a file server on the same domain. Code:

View Replies !   View Related
Error 70 With External Account
We have a simple asp page that query LDAP attribrute. Everithing is working fine using a native domain account. but when using an external account we have an error 70, acces denie.

Here's some basic info on our structure.

- Domain/Forest A with Exchange
- Domain/Forest B with external accounts.
- Forest A Trus Forest B and "Vice Versa"
- asp page on a Exchange FrontEnd server on default web site (same as
Exchange)

- asp page is using basic authentification.
- Authentification work fine using native domain account or External
domain Account.

- Getting native Windows attributes work fine with External account
but the attributes starting with "ms-Exch" do not come out.(Exchange
Attribute). Code:

View Replies !   View Related
ASP Connection String For Privileged Account
I don't know if this is a unique problem, or I'm going about it the
wrong way. I currently connect to one of our SQL servers via a
priviliged account (by using RUNAS). Works with no problem. I now
need the ability to connect to the same SQL server using ASP. I have
the following connect string, but I'm not sure how to specify the
domain in the string, or is there some other way?

<%
Set demoConn = Server.CreateObject("ADODB.Connection")
demoPath="DRIVER={SQL Server};" & _
"SERVER=mysqlserver;UID=myusername;" & _
"PWD=mypassword#;DATABASE=qdb"
demoConn.open demoPath
%>

View Replies !   View Related
Changing The Current Region Of Asp.net Account
How can I change the culture/region of the machines ASPNET Account??? In
code, I can set it for the threat manually by using
system.threading.thread.currentThread.currentUICul ture, but there must be a
way to do it global on the machine: Plesk allows to change this for the
machine which works fine, but how do I do it manually when no plesk is
available?

View Replies !   View Related
Detecting Local Account / Domain
Is it possible to use IIS 5.x software on WinXP/2K OS and VBScript to detect the logged in user account.

ie, we login with our firstname initial, last name (amartone) as well as the domain the computer resides in? My account is under ITU, so I am ITUamartone.

Can ASP detect this? I'm making an intranet app, and I'd rather validate users that way than have them log in over and over.

View Replies !   View Related
Total Restrict In My If Statement, Not Take Into Account &?
I want to display something strictly if the value of pid = 4, except anything after this, for example index.asp?pid=4&nid=3.

Still the if statement continues to display I am sure because pid=4 still exists is there a method to be strict, for example not & ....

View Replies !   View Related
Password Creation/validation For New Account
I am trying to create a form where a user has to enter information such as username, password, last name, etc...

My current code is to look at the recordset to find any existing username, and if not found, it will add the new username.

At what part of the page do I validate the password so I can determine if the user enter the password correctly the second time (to determine the password was entered twice correctly)?

Here are my pseudo codes: ....

View Replies !   View Related
Create Secure Account Activation
I'm looking for some best practices when it comes time to allowing a user to create an account for our web app. For example, a potential customer of ours would fill out an application and then an email would be sent w/further instructions on how to activate and
login to their account. What's the best way to accomplish this? Should our system create a unique password for them (initially) and then require them to create their own? I need a solution that is secure with almost no chance of someone attempting to impersonate.

View Replies !   View Related
Regenerating ASPNET Login Account
How do you regenerate the ASP_NET login account? The password got changed which hosed everything. I can no longer see my web services and need to reset the ASP account. How do I do this?

View Replies !   View Related
Internet Guest Account Permssion
We have recently upgraded our web server. The web server is in a remote location and is being administered by a contract company. After the upgrade, one of the location of our database (access) has been asssigned the following rights:

Read and Write. There are two more permissions i.e. Read & Execute and List Folder Contents which were not given permssion. With this scenario, I cannot add or update records on a web application tied to this Access database. My Is the Read & Execute not essential in order for me to insert and update or even select record in the web application.

View Replies !   View Related
ASPNET Account Accidentally Deleted
ASPNET profile/account was accidentally deleted on NT/2000 platform. Is there anyway to get it back without reinstalling the whole exchange/IIS services?

View Replies !   View Related
Form That Can Be Forwarded To An Email Account
How do you create a form that can be forwarded to an email account. Could somebody please provide me a code.

View Replies !   View Related
Special Character
How do I remove those special characters in a variable? I think there are a dozen special character and so I use a dozen replace object. Is there an object that call this in one call instead of a dozen?

View Replies !   View Related
Special <%% And %%> Delimeters!
how the special delimiters <%% and %%> are processed by IIS 5.0. If you happen to know any resources on the net, regarding these delimiters, please do mention them too [img]images/smilies/smile.gif[/img]

View Replies !   View Related
Use Special Characters
The website that I am developing is having a search option. The search is according to the type of Industries, like IT-Software, IT-Hardware etc. I am using procedure to search through the database. Now whenever I Select an Industry name like IT - Software, FMCG/Foods/Beverages(i.e with special characters) etc. i get an error message Code:
Line 1: Incorrect syntax near '/'.
here is the code where I am getting the error

Code:
strSQL = "sp_getsearchvacancy " & sind & "," & sexper & "," & currentPage & "," & iRecordsPerPage
objRS.Open strSQL, objConn

this is same for every keyword having special characters like / , - and even space
But when I use keywords without any special character its works fine.

View Replies !   View Related
Special Operators
I'm trying to figure out what '<>' does? Does it the same as == ?

View Replies !   View Related
Special Characters In XML
i have a problem in retirving special character like ¥ . the process is to save such special characters. through ASP page from client side. it gets saved in XML which is at Server Side. while typing the character on ASP page

there is no issue. but when i save it in XML it is saved as some different values. right now. i am dealing with it by replacing the values manually. but can anybody please help me to get some function or property. to convert and reconvert these characters, as its not possible to handle each speacial character manually.

View Replies !   View Related
Special Characters
How will you remove special characters from a text? What if my user just copies the text from a web page and then pastes it on a text area? Will special characters/invisible html tags get copied also? If so, how do you remove these special characters/invisible html tags?

View Replies !   View Related
Admin Area, Deactivate/reactivate Account?
When making an admin area i have always just allowed 'delete the user', but is it possible to deactivate and reactivate a username and password.

I can picture it in my noggin. when viewing all the users there is the ability to check a box selecting deactive or reactivate depending on the state of the username at the time.

What do you think, is it more hassle than its worth to allow this?

View Replies !   View Related
Send Information On The User Account Error
I have created a New Users registration form for my database. The User enters there details such as email, account, name etc, and then clicks a Register button. This should send an e-mail to the User with a link for them to click to activate there account.

When i click on register however, i get a page not found message. When i try to diplay my Confirmation page, i get the error mention ed above.

View Replies !   View Related
Reading CSV Into Recordset Using GetString - Msdn Account
I have two(2) issues.

I'm experiencing a little difficulty and having to resort to a work around.
I already found one bug, although stated the bug was only in ODBC, which I'm
not using. It appears to be in the OLEDB driver also.

My connection was:
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strPath & ";" &
"Extended Properties='Text;HDR=NO;FMT=Delimited'"

I got information from here:
http://msdn.microsoft.com/library/d...ing03092004.asp

I am using a schema.ini file and in it was:Code:

View Replies !   View Related
Could Not Locate The Security Tab To Add IUSR Account In A Xp Lapt
I have copied a web based application to a new laptop having windows xp professional. Now in one of the folders where the database is physically located, I want to give IUSR_Computermachine rights so that the applcation allows to update and insert records.

However, when I am right clicking to find the security tab, it is missing. OTher tabl like general, sharing, web sharing and customize are all there.

View Replies !   View Related
How To Lock Account Once Password Tries Exceed 3 Times?
1. How do I create my asp in a way where it does not allow the user to key in wrong password for more than 3 time. It will lock the account once three times has exceeded.

View Replies !   View Related
ASP VBscript Special Characters
I have created an online form using ASP VBscript, however the form breaks when someone inputs quotation marks in the field. I have attempted to write a function that removes the quotation marks without any success.

Function CleanString(passedvalue)
Dim tmpvar
If passedvalue > "" then
tmpVar = Trim(Replace(passedvalue, "'", ""))
Return tmpvar
Else
Return ""
End if
End Function

View Replies !   View Related
Special Characters ©
I am including copyright information on one of my asp pages. The page is hosted on IIS on an XP Pro machine. I want it to look like this:
Copyright © 2004
the © does not display when the asp page is called, Instead a ? appears. I know its a simple character thing. How do i get the © to display properly?

View Replies !   View Related
Html Special Characters
I am having problems with special characters with database calls (if I'm
referring to this in the right way). the problem is with apostrophes of all
things. If an end user puts an apostrophe in something ASP will interprete
it as a delimiter. This is aggravating because I'm trying to make this as
simple for the end user as possible and if they can't place something in a
simple text field like "Joe's Bar" (which comes out as "Joe") then I have a
problem because I don't have a solution for this. It appears that this "
&acute; " is not quite the same as " ' " and I don't see a special
character for apostrophes either.

View Replies !   View Related
Prerequisites For Special Characters
I was curious as to what kind needs to be done in order for special characters to be inputted into the database. I think using these characters in an input box don't work well when transferring with SQL. So when people are writing use something like ' an error comes up.

View Replies !   View Related
Special Characters In VBScript
what is the newline char for VBScript? and is there any other special chars in VBScript?

View Replies !   View Related
Special Font Display
Im building an online shopping cart in ASP where users will place orders for
various printed materials.

I need to have them build their product online from templates.
Basically they will fill out a small form selecting the product style, Font
and color to be printed in and the text they want printed.

Im trying to figure out a way to display a preview of what they are buying
but the problem is the fonts that are offered. These are not web-safe fonts
nor are they that common a font at all.

The fonts I need to support are:

Achen, Apex, Apex Condensed, Franklin Condensed, Gothic Fine Black,
MisterEarl, Township, Township Thin, and Quixley.

Is there some component available that would allow me to pass a color, font
and text to it and would generate a preview image on the fly?

View Replies !   View Related
Displaying Special Characters ã é á Ó
how do i display characters such as ã é á Ó in response.write. I have this problem displaying when i query from database.

View Replies !   View Related
Validation For Special Characters
How do i prevent user to input special character like /, , :, *, ?, ", <, >, | and not allow it to be null in my text field? i got a page with coding here ....

View Replies !   View Related

Copyright © 2005-08 www.BigResource.com, All rights reserved