all groups > asp.net security > july 2003
Filter by week: 1 2 3 4 5
Runtime Impersonation - Help !!!
Posted by Snig at 7/31/2003 7:02:35 PM
Hi all
I need to implement Runtime (Conditional) Impersonation in one of my ASP.NET
Pages.
If I use the <identity impersonate="true" /> in web.config file, it works
fine.
But in code, while I try to Impersonate I get Win32 error. I am using
"Logon" Win32 API for get a specific token. But... more >>
Runtime Impersonation
Posted by Snig at 7/30/2003 6:42:06 PM
Hi all
I need to implement Runtime (Conditional) Impersonation in one of my ASP.NET
Pages.
If I use the <identity impersonate="true" /> in web.config file, it works
fine.
But in code, while I try to Impersonate I get Win32 error. I am using
"Logon" Win32 API for get a specific token. But... more >>
protect password without SSL
Posted by viviana at 7/30/2003 3:36:21 AM
hi all,
i have a problem with my asp.net web application.
i'd like to protect passwords users sent to server,
without using SSL server.
i'm not so skilled at that, is there a way to protect the
data streaming (password) from client to server?
then i can protect the password to sql with a v... more >>
Basic Forms Authentication question
Posted by R-D-C at 7/29/2003 3:00:02 PM
I can't get this damn thing to work at all.
I have a virtual directory set up with anonymous access only, web.config
contains the following but when I go to the site it ignores the security and
never redirects to login.aspx. I know this will be a stupid problem but
please help!
<configurati... more >>
IIS SSL configuration problem
Posted by Theodoros.Savvides NO[at]SPAM ctl.com at 7/29/2003 4:40:02 AM
Hi
I have a web site under IIS 5 in Windows 2002 Server and I want to setup.
In the application
I have created an HttpHandler in .NET. I have set the site to require SSL
and 128-bit encryption
and i have chosen the Require Client Certificate option in order for the
application to require ... more >>
Access to config file
Posted by Slavko at 7/28/2003 5:45:09 PM
I'm writing C# ASP.NET application. For different parts of application I
wrote different config files. When I was transferred files from my office
computer (windows 2000 pro) to home (windows xp pro) I got following error.
Access to the path "E:\Inetpub\wwwroot\Erevir\Config\Clanki.Config" ... more >>
Protected folder with forms authentication
Posted by Harley at 7/26/2003 8:57:43 PM
i have a VB.NET ASP.NET application. the front end is working fine, and know
im developing the manager options. this options have to be in a subfolder
server.com/manager.
how do i protect only that subfolder and its sub-sub-folders?
i thought setting the path param in the authentication - forms ... more >>
Access and database connection
Posted by chris at 7/26/2003 11:02:48 AM
I get the following error when I try to run my web page in
asp.net.
The Microsoft Jet database engine cannot open the
file 'c:\inetpub\wwwroot\test\test.mdb'. It is already
opened exclusively by another user, or you need permission
to view its data.
I have gone to the User Accounts and... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Moving from an SSL to an non-SSL connection
Posted by Silviu Tudoras at 7/25/2003 5:56:31 PM
I'm new to ASP and Internet programming...
I want to send a request through SSL and to receive the response non-SSL. Is
this possible?
I have a MFC LiveUpdate client application. I want to send the request (for
a file) cripted (https://...asp) but to receive the response (which could be
a big... more >>
Hyperlink variable security
Posted by IntraRELY at 7/25/2003 11:00:25 AM
Hello,
I need to pass a variable from one page which is a datagrid and has a
hyperlink column. I will be passing the id for a particular row to pull up
additional details of the record. I want to know the most secure method to
accomplish this, the site will be using SSL. Are there any MSDN art... more >>
Debug Error when Running WEb Applicatoin - HELP!
Posted by Ash at 7/25/2003 3:30:39 AM
Hi,
I've just installed Visual Studio.NET on my computer, which runs on
windows2000 server. When i creat web application and try run it from vb.net,
i get the following error:
===============
Error while trying to run project: unable to start debugging on the web
server. Server side-error ... more >>
Forms Authentication- Browser / service Pack issues?
Posted by Larry at 7/24/2003 5:28:37 PM
I have multiple machines, some with 2000, some with XP,
another with 2003 server. The problem I am having is that
on some machines the re-direction to the default page does
not take place after the logon page. It is just thrown
back to the logon page. However this work on some clients.
I... more >>
Cannot retrieve UserData in Forms Authentication
Posted by John Kievlan at 7/24/2003 2:33:41 PM
I am using FormsAuthentication for my application, and in
the UserData property of the FormsAuthenticationTicket
I'm storing the roles that the user is a member of, to
retrieve in global.asax and create a GenericPrincipal
object. Problem is, after the user logs in, I can get
the ticket ju... more >>
ASPState Bug/Security issue
Posted by Brian Gambs at 7/24/2003 8:09:11 AM
I've been trying to figure out how to properly install
and configure ASPState (fwk 1.1,non-persistent, sql based
state) in a way that
a. works
b. doesn't require an account with system
administrator/sa access
Before I begin -- I know -- and accept -- that state
information does not su... more >>
Sharing Authentication cookies between 1.0 and 1.1
Posted by Mike LeBlanc at 7/23/2003 8:01:21 AM
Hello all,
I am having a problem getting two IIS applications to
share a single authentication cookie. One app uses the
1.0 Framework and other uses the 1.1 version. (This is on
Windows 2000 Advanced Server)
I already removed the "isolateapps" option from my 1.1
machine.config and ma... more >>
Security Issues with ASP.Net
Posted by Sanjay Poojari at 7/21/2003 4:55:04 PM
Hi All,
Need some advice on some of the security issues in my ASP.Net application.
There are certain tasks that I need to implement so need advice/guidance on
them as well as safeguards that I should implement. The application would
be typically running on Windows Server 2003 with IIS6 with .... more >>
httprequest.validateinput()
Posted by Kirk at 7/21/2003 4:04:49 PM
Can you create a new class that inherits from httprequest
and override the validateinput method, is this possible,
advisable, best practice or is there another way to
accomplish this. Any articles or code samples would be
appreciated.... more >>
problem when i try to start a ASP.NET application
Posted by pannalar NO[at]SPAM yahoo.com at 7/18/2003 1:32:49 PM
hai !!
i have recently installed vs.net on my computer (xp pro operating
system). when i tried to create web pages using asp.net it worked
fine. i have a norton perosnal firewall installed on my system and i
recently updated my virus definitions using live update. the problem
now is when i tr... more >>
Passing information between pages
Posted by Tim Almond at 7/18/2003 12:43:20 PM
I am currently building a site, and we have a number of users that can have
a particular priveledge, but each user has their own set of cases that they
can update (identified by case ID).
When the user clicks on a case, it needs to pass this to an 'update case'
form.
I want this to be secur... more >>
Impersonate at runtime
Posted by Anand at 7/18/2003 10:51:28 AM
Hi,
I want to move my files from web servers to a shared
folder on the database server. For this I impersonate the
aspnet user to common domainuser and gave write
permissions for that user on the folder on the database
server.
During run time it impersonates to the domainuser but it
... more >>
Mixing Forms Authentication with User Accounts in ASP.NET
Posted by SCG at 7/17/2003 4:27:15 PM
Put simply, I want to use a custom form where a user can enter their Windows
Domain Account and password, and have that validated. i.e. I do not want
users to be presented with the IE style dialog box when authenticating.
I used to be able to do this pre-.NET with an ISAPI DLL and LogonUser() A... more >>
Directory services lookup
Posted by Dmitry at 7/17/2003 3:02:21 PM
I have an asp.net utility that searches AD users. The
utility works fine on my workstation (W2K) and other team
members workstations, but once I ported that code to the
server I am getting the following message:
System.NotImplementedException: Handling of this ADSVALUE
type is not yet imple... more >>
authentication and authorization in subfolders
Posted by danbrown09 NO[at]SPAM hotmail.com at 7/16/2003 4:37:11 PM
Hello,
I went through several posts and found out that it is only possible to
have the authentication tag only at an app level but the authorization
tags can be present at the subfolder level after specifying the
location tag in the web.config file in the subfolder.
My question is:
I want to... more >>
Impersonation on Windows Server 2003
Posted by Halcyon Woodward at 7/16/2003 3:29:50 PM
I have an ASP.NET application that I'm developing on Windows 2003 and IIS 6.
I have included the < identity impersonate="true" /> in the web.config file
to force the application code to run under the currently logged in user, and
the site disalows Anonymous access.
The problem I'm running into... more >>
ASP.Net Security and SQL Server access
Posted by Richard at 7/16/2003 11:47:54 AM
Can someone tell me the best security configuration for an intranet site.
I want to use Window accounts (groups) to control access to the Web site and
the access to a SQL Server database on a different server.
Does the web.config file override the IIS MMC security settings ?
Cheers
... more >>
aspnet_wp won't get executed
Posted by psalty NO[at]SPAM hotmail.com at 7/16/2003 6:27:54 AM
Hi folks..
I installed windows server 2003 with domain controller role.
And installed iis6 and .net framework etc. I run aspnet_regiis -i for sure.
However, when I check task manager, I couldn't find aspnet_wp.exe process.
So I searched all newsgroup, and I find some article related to ... more >>
Lock Folder with ASP.NET
Posted by Chris at 7/16/2003 2:12:49 AM
Hi all!
Is it possible to lock a folder and its files with ASP.NET
(-> VB.NET Code)?
for example:
if a user now trys to reach a specific file in a folder
(for example: www.myserver.com/somefolder/somefile.exe) he
should not be allowed to download it.
i already blocked the user from dir... more >>
Activate account by link in e-mail
Posted by gordenblom NO[at]SPAM hotmail.com at 7/15/2003 12:34:41 PM
Hello,
I'm working on a school project about asp.net and I have a question
about an activation link in an E-mail. I created a form at witch new
users can subscribe. This form add the new user to an Access database
and an E-mail is sent to the e-mail adress the new user entered. This
link shou... more >>
Access Denied to sqlConnection
Posted by jwgiblin3 NO[at]SPAM hotmail.com at 7/15/2003 9:01:49 AM
I am trying to make a connection to the Db and everytime I try to open
the connection I get "access denied"
"ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typical... more >>
Suppress login dialog when impersonation on?
Posted by Gary H. at 7/14/2003 9:17:15 AM
Does anyone know how I can suppress the "Enter Network
Password" dialog when attempting to enumerate directories
and/or files in ASP.NET? I want my code to automatically
generate an exception if the current user is not allowed
to access a share folder or file instead of prompting the
user... more >>
Manipulate Client Computer's directories
Posted by Guogang at 7/10/2003 3:28:03 PM
Is it possible to manipulate client computer's direcotries through an
ASP.NET page?
For example: user click "Down Load Package To Temporary Directory", then a
whole package with proper directory structure will be downloaded to client
computer's c:\temp directory.
Thanks,
Guogang
... more >>
Unable to get Forms-based Authentication to work
Posted by buturla NO[at]SPAM nefcu.com at 7/10/2003 1:03:32 PM
Hello,
I'm new to ASP.NET, and I'm trying to learn how to implement forms
based authentication. However, I don't know what I'm doing wrong.
While the FormsAuthentication.Authenticate method returns true, after
I call FormsAuthentication.RedirectFromLoginPage I am redirected back
to the l... more >>
Delete File Asp.NET Error: File is used by another process
Posted by valerial NO[at]SPAM frlp.utn.edu.ar at 7/10/2003 8:13:17 AM
Please, help!
I have set Permission to Full Control to the user ASPNet_wp account to
my Security folder.
I have set UserName = "System" processModel in Machine.config
And when I want to delete File.txt I got the follow error:
The process cannot access the file
"c:\inetpub\wwwroot\MyApp\Secu... more >>
Form based authentication question
Posted by admin NO[at]SPAM msquaredweb.com at 7/9/2003 6:08:16 AM
I understand that in the web.config file I can have the following:
<location path="MembersOnly">
<system.web>
<authorization>
<allow users="myaccount" />
<deny users="*" />
</authorization>
</system.web>
</location>
My question is, how... more >>
How can I encrypt a string?
Posted by Volkan Karaboưa at 7/8/2003 6:21:31 PM
hi...
How can I encrypt a string and then decrypt it?
there are some examples I found but all of them about filestream object I
wonder if there are some examples just reading and writing from string
variables.
could you help me please...
thanks.
... more >>
Folder Security
Posted by cct at 7/8/2003 2:31:27 PM
Hi all,
I am having difficulty in retrieving the file / folder permission in current
context user.
for eg, GetDirectories() method will return all the folders,
Is there any way to return only folder / files which the user has
permission?
thanks.
... more >>
Windows Groups/Roles Security in asp.net
Posted by Dale at 7/7/2003 11:43:43 PM
I have a problem with implementing windows groups as a
form of role based security.
I have implemented it exactly as described in
http://support.microsoft.com/?id=323176
I am running Windows 2000 Server and ASP.NET framework
1.1 we are using Active Directory for groups. IIS is
setup f... more >>
|