<rss version="2.0" xmlns:dn247="http://www.dot-net-guru.com/schemas/rss"><channel><title>.Net Guru: ASPFriends.com 'aspngsec' list</title><link>http://www.dot-net-guru.com/247reference/__site/145</link><description>ASPFriends.com 'aspngsec' list on .Net Guru.</description><generator>.Net Guru/WinFX 247 RSS Generator</generator><dn247:id>145</dn247:id><item><title>Does this code actually authenticate a user on ADSI..... (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136135.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136135.aspx</guid><pubDate>20 Aug 2002 03:38:43</pubDate><description>Dim sADPath As String &amp;amp;quot;LDAP://MyADDomainString&amp;amp;quot; Dim DE As New DirectoryEntry(sADPath, username, password) Try If Not DE.Name Is Nothing Then Return True 'Authentication Successful End If Catch err As Exception Return False ' Authentication Failed Finally DE Nothing End Try It apears tome that this code is just verifying that they a person with the value in 'username' has a Name property in AD. So,...</description><dn247:id>136135</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Copy protecting desktop application (12 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136138.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136138.aspx</guid><pubDate>17 Aug 2002 02:12:00</pubDate><description>I need to copy protect a desktop application so that distributors and end users cannot easily copy the application and use it without our knowledge. Since the product will sell in the $5 $10,000 range per copy, this is a fairly important consideration. I would like to distribute a license key separately from the application so that the application cannot be started without it. How can I create a k...</description><dn247:id>136138</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Forms Security and .Net Service Packs (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136132.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136132.aspx</guid><pubDate>14 Aug 2002 15:24:00</pubDate><description>I have noticed that each time I upgrade .Net with a new service pack on my server I find that all the users that are using Forms security and cookies to remember their logins have to re login to the site. Do any of you know why this is happening and how to avoid it? Cheers, Julian Voelcker The Virtual World (UK) Limited Cirencester, United Kingdom </description><dn247:id>136132</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Installing an APPlication (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136131.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136131.aspx</guid><pubDate>13 Aug 2002 23:44:00</pubDate><description>Moved from [aspngstart] to [aspngsec] by Victor Von Doom doctordoom@aspelite.com Hi all, I am installing a web application on a client that just installed the .NET framework When I go to run the application I get an error message, that says something to the effect of &amp;amp;quot;This application can be started, check the event log for errors&amp;amp;quot; In the eventlog, the error basically says that there is something ...</description><dn247:id>136131</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>forms-authentication (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136128.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136128.aspx</guid><pubDate>06 Aug 2002 19:15:00</pubDate><description>I tested the example and i liked very much this way to make security, but i didn't understand one thing, inside my project if i have some pages that no need be check(no security). how can i mark the pages that need or not check the security ? thanks a lot, []s, Gustavo. Original Message From: Scott Mitchell [mailto:mitchell@4guysfromrolla.com] Sent: segunda feira, 5 de agosto de 2002 17:12 To: asp...</description><dn247:id>136128</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Security Design: Authenticating users by IP address (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136126.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136126.aspx</guid><pubDate>05 Aug 2002 12:04:00</pubDate><description>Hi all, I'm looking for options on how to Authenticate users. Intranet users who visit the site DO NOT have to login. Extranet users who visit the site with a domain name need to log in except if they come from a group of fixed ip addresses. We have a requirement to recognize some Hotel Users by there IP address because they don't want the extra burden of remembering passwords for the numerous pot...</description><dn247:id>136126</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>IsAuthenticated woes (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136123.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136123.aspx</guid><pubDate>31 Jul 2002 17:20:00</pubDate><description>Hi! I have a site that employs form authentication (strongly modified version of ibuyspy portal). Intermittently, for logged in users the IsAuthenticated property will return false even though the client sends a valid authentication ticket. If such page is refreshed, IsAuthenticated goes back to true! Have you ever encountered such behaviour? Any hints/thoughts/concolences? :) Thanks Remas http://...</description><dn247:id>136123</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Re-direction does not work before loging into the app. (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136120.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136120.aspx</guid><pubDate>29 Jul 2002 23:07:00</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by Michiel van Otegem mvo@mail.aspnl.com I have an ASP.NET project that uses Forms authentication. I have added a &amp;amp;quot;Contact Us&amp;amp;quot; link in the login page. The problem is that the redirection to the Contact Us page does not work since the user was not authenticated. How can I solve this problem? Thanks, Marcelo. </description><dn247:id>136120</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Role authorization in Beta 2 (19 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/2/11267.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/2/11267.aspx</guid><pubDate>29 Jul 2002 00:38:46</pubDate><description>Hey all, I know this has been a frequently discussed issue, and I've spent most of the night poring through the archives found in this group, and have seen many helpful answers. The only problem is (and of course, theres always a problem, elsewise I would not be writing this) I have not been able to get them to work. I previously (more like 4 months ago) wrote in with this problem, and Erik Olson ...</description><dn247:id>11267</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Forms Authentication ReturnURL (15 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131123.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131123.aspx</guid><pubDate>29 Jul 2002 00:38:44</pubDate><description>In forms authtentication Information about the originating page where access was requested is placed in the query string using RETURNURL as the key. In beta1 this contained the entire URL. In the release this contains the path but not the web site. If you are using forms authentication across multiple websites. How do you know what the originating page is? </description><dn247:id>131123</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>HttpWebRequest and X509Certificates...anyone? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131118.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131118.aspx</guid><pubDate>29 Jul 2002 00:38:40</pubDate><description>Has anyone had luck accessing a secured SSL site using HttpWebRequest and the X509Certificate class. I keep getting the error &amp;amp;quot;Could not establish trust relationship with remote server.I have successfully exported a .pfx file to a DES 509 certificate .cer file. I then read in the certificate file with the code below and TRY to post data to HTTPS server. Here is my code. Thanks much Paul //////////...</description><dn247:id>131118</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Video Seminar of ASP.NET Security of PDC 2001 by Eric Olson (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131127.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131127.aspx</guid><pubDate>24 Jul 2002 02:27:00</pubDate><description>Folks, Any idea where I can Download/View the Video Seminar of ASP.NET Security of PDC 2001 (http://www.microsoft.com/Seminar/Includes/VideoSeminar.asp?url /Seminar/en/ developers/2002218ASPNetSecur/portal.xml) The presentation was by Eric Olson. Thanks Raman </description><dn247:id>131127</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Must impersonate in web.config (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131126.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131126.aspx</guid><pubDate>23 Jul 2002 18:18:00</pubDate><description>Hello, Anyone know of a way (or even possible) to force a user to use impersonation in their web.config file as well as specify the username and password? Thanks, Ely </description><dn247:id>131126</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>New Asp.net Web site ACL security permissions (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131122.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131122.aspx</guid><pubDate>23 Jul 2002 04:33:00</pubDate><description>I have an IIS server on w2k. I am setting up a new web site, which will have the web files located on a different drive than wwwroot. I installed the new ip, created the web site, re ran aspnet regiis.exe i (I think you have to do this whenever you install a new website to get the aspnet client directory installed). The question is what are the ACLs needed on the website's directories? Is there an...</description><dn247:id>131122</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>FileCopy copyto permissions for copying across network? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131121.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131121.aspx</guid><pubDate>23 Jul 2002 03:27:00</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by Marcie Jones marciejones@yahoo.com What do I have to do to make this work...I know the worker is running under user ASPNET but I can't figure out how to give that user permissions to my network share that I need to copy files from and to. I've tried changing the ProcessModel setting to LOGIN as a valid user...but am coming up empty handed... </description><dn247:id>131121</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Temp ASP.NET directory (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131119.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131119.aspx</guid><pubDate>20 Jul 2002 01:35:00</pubDate><description>Hello, I was wondering if anyone has had any luck changing the Temporary ASP.NET files directory using the following tag: compilation tempDirectory &amp;amp;quot;E:\web\T\test2.com\Temporary ASP.NET Files&amp;amp;quot; /compilation I have been able to get it to work if I run the aspnet process under the System account, but if I try impersonating my IIS User, it fails with an access denied error, even though the IIS User ha...</description><dn247:id>131119</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Protecting non aspx and ascx resources (11 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131117.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131117.aspx</guid><pubDate>15 Jul 2002 15:16:00</pubDate><description>Moved from [aspappsecurity] to [aspngsec] by Tim Musschoot Tim.Musschoot@rug.ac.be Moved from [aspngsec] to [aspappsecurity] by Tim Musschoot Tim.Musschoot@rug.ac.be Hi, Where can I tell the asp worker process to watch over non aspx and non ascx files. Currently, any other file with .rpt, .sql extension can bedownloaded without authentication. Thanks, Wolfgang </description><dn247:id>131117</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Forms Authentication and Roles (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/25/127263.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/25/127263.aspx</guid><pubDate>13 Jul 2002 17:33:00</pubDate><description>Hi all I'm using ASP.NET's built in forms authentication. I have all the user information, including the roles stored in a database. I limit access to areas of the site by defining which roles can access which virtual paths in the Web.config file. It all works very well. My question is, when ASP.NET denies access to a certain area, it bounces that person to the login screen. Now the user in questi...</description><dn247:id>127263</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>FormsAuthenticationTicket Info (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123932.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123932.aspx</guid><pubDate>09 Jul 2002 04:35:00</pubDate><description>Can someone point me to any info on applications of FormsAuthenticationTicket class? The MS docs are a bit thin in this area. Would it be when you want more direct control of the user's session? I'm trying to get a handle on when I would need to/want to use this ... as it seems this &amp;amp;quot;general&amp;amp;quot; functionality might be implemented behind the scences when using something like below for user authenticat...</description><dn247:id>123932</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Roles and Form Based Authentication (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123407.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123407.aspx</guid><pubDate>08 Jul 2002 19:34:37</pubDate><description>Ok, I'm ready to pull the last of my hair out. I have a website with forms authentication: authentication mode &amp;amp;quot;Forms&amp;amp;quot; forms name &amp;amp;quot;FormAuthentication&amp;amp;quot; path &amp;amp;quot;/&amp;amp;quot; loginUrl &amp;amp;quot;Login.aspx&amp;amp;quot;/ /authentication a login page that assigns a role to the user: if(my user is authenticated) { HttpContext currentContext HttpContext.Current; string formsCookieStr string.Empty; FormsAuthenticationTicket ticket new For...</description><dn247:id>123407</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Forms authentication and code security (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123404.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123404.aspx</guid><pubDate>07 Jul 2002 22:48:57</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by Sheik Yerbouti peter@aspdll.com I'm writing a ASP.NET Web application using using forms based security and I'd like to be able to write to the event log with my ASP.NET application. When I attempt to do this I receive an exception: Exception Details: System.Security.SecurityException: Requested registry access is not allowed. Source Error: 20 Line 21: ...</description><dn247:id>123404</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Roles from DB when using forms authentication (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123405.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123405.aspx</guid><pubDate>07 Jul 2002 22:48:56</pubDate><description>Is there a way to get a list of custom/dynamic roles into the FormsAuthenticationTicket once, when the user is authorized, instead of the samples I have seen where a new ticket gets set up in the Application AuthenticateRequest event by managing a separate cookie that contains a ticket with the list of custom roles read in from the database?</description><dn247:id>123405</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>System.IO.Directory.GetFiles (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123403.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123403.aspx</guid><pubDate>07 Jul 2002 22:48:56</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by Tim Musschoot Tim.Musschoot@rug.ac.be Does anyone know why I'd get &amp;amp;quot;Could not find a part of the path&amp;amp;quot; and &amp;amp;quot;Incorrect login&amp;amp;quot; errors when I attempt to call the System.IO.Directory.GetFiles routine? I've taken off anonymous access (meaning that I'd HAVE to be authenticated with my domain credentials since that's how I'm logged in) and it still bombs out ...</description><dn247:id>123403</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Impersonating (9 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123396.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123396.aspx</guid><pubDate>07 Jul 2002 22:48:54</pubDate><description>I remember a recent impersonation discussion utilizing calls to LogonUser() in ADVAPI32. Has anyone found this to work on their workstation but not on the web server? We're running into this now and can't figure it out. My workstation is 2000Pro (Native) and our web servers are 2000 adv server, active directory. Thanks. Regards, Tim Ellison Senior Web Applications Developer, Long and Foster Real E...</description><dn247:id>123396</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>MSDE dD: DOT.NET connection works but not ASP connection string! (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123397.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123397.aspx</guid><pubDate>07 Jul 2002 22:48:51</pubDate><description>I'm running MSDE, Server is &amp;amp;quot;(local)&amp;amp;quot; machine name assume &amp;amp;quot;machinename&amp;amp;quot; and I'm connecting to IBuyStore Portal Database. This connection works in .NET work SqlConnection(&amp;amp;quot;server localhost;Trusted Connection true;database Portal&amp;amp;quot; ) This same string doesn't work in ASP3.0 'cn.Open &amp;amp;quot;server localhost;Trusted Connection true;database Portal&amp;amp;quot; But I have to do this (ie. Specify the driver): cn.Open &amp;amp;quot;Prov...</description><dn247:id>123397</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>.NET Security error after changing SQL stored procedure (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123394.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123394.aspx</guid><pubDate>07 Jul 2002 22:48:51</pubDate><description>Copied from [ngfx sqlclient] to [aspngsec] by Bob Levittan blevittan@hotmail.com Moved from [aspngibuyspy] to [ngfx sqlclient] by Bob Levittan blevittan@hotmail.com After I change or add a SQL stored procedure and recompile my VisualBasic.NET application and then try to run ate application I get the following error: Security Exception Description: The application attempted to perform an operation ...</description><dn247:id>123394</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Extend context.user.identity (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/119504.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/119504.aspx</guid><pubDate>07 Jul 2002 22:48:49</pubDate><description>Hi All, Is it possible to easily extend context.user.identity? I'm doing a forms authentication against a sql database, I return some extra data like clientID,FirstName,CompanyName,... I would like to make these available through my application using ex: context.user.identity.ClientID context.user.identity.FirstName context.user.identity.CompanyName ... Is this possible or is there another (and be...</description><dn247:id>119504</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Problem w/ Deleting Records... (8 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123401.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123401.aspx</guid><pubDate>29 Jun 2002 17:39:00</pubDate><description>I am having a very strange thing happen... I set the folders where my database resides in Windows XP to Full Access (Read Write).. When I run and launch my ASP.NET application, I am receiving errors trying to delete records in a table. (Can't delete from specified tables) I close my application and launch Windows Explorer and for some reason the folder where the database file resides is set back t...</description><dn247:id>123401</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>web.config connection string? (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123399.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123399.aspx</guid><pubDate>28 Jun 2002 15:32:00</pubDate><description>In the web.config file to store the database connection string it exposes cleartext password to sensitive database. Like this appSettings add key &amp;amp;quot;DBI.ConnectionString&amp;amp;quot; value &amp;amp;quot;Provider OraOLEDB.Oracle.1;Password mypass;Persist Security Info True;User ID me;Data Source SGUCode;&amp;amp;quot;/ /appSettings ****************************** Is there any another solution that does not expose the password in cleartext...</description><dn247:id>123399</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Trying to change Temporary ASP.NET Files directory (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123398.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123398.aspx</guid><pubDate>27 Jun 2002 18:56:00</pubDate><description>Hello, I am trying to change to location fo the Temporary files that .net sticks the assemblies once compiled. I am using: compilation tempDirectory &amp;amp;quot;C:\websites\S\site1.com\temp\&amp;amp;quot; debug &amp;amp;quot;false&amp;amp;quot; explicit &amp;amp;quot;true&amp;amp;quot; defaultLanguage &amp;amp;quot;vb&amp;amp;quot; / But when I try to run an aspx page, I always get an error: Failed to create temporary files directory 'C:\websites\S\site1.com\temp\root\d5eda910\1b06d7a2'. Access de...</description><dn247:id>123398</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>ASPNET User Security Issue (12 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/119506.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/119506.aspx</guid><pubDate>25 Jun 2002 07:04:07</pubDate><description>Moved from [aspappsecurity] to [aspngsec] by Tim Musschoot Tim.Musschoot@rug.ac.be Moved from [aspngvs] to [aspappsecurity] by Tim Musschoot Tim.Musschoot@rug.ac.be Hello, It seems that when you are running an asp.net app, the security context runs under the ASPNET user account, not the IUSR Machinename that is defined in the IIS MMC. In a shared hosting environment, this might be dangerous if you...</description><dn247:id>119506</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>web.config 101 (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/119503.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/119503.aspx</guid><pubDate>25 Jun 2002 00:19:19</pubDate><description>I have some simple asmx files running on my web server. When I have NO web.config file the following code runs BUT if I stick in my web.config it gives me an unauthorized message. %@ WebService Language &amp;amp;quot;C#&amp;amp;quot; Class &amp;amp;quot;ADOWebSvc&amp;amp;quot; % using System; using System.Data; using System.Data.SqlClient; using System.Web; using System.Web.Services; [WebService(Namespace &amp;amp;quot;http://www.oreilly.com/webservices&amp;amp;quot;)] publ...</description><dn247:id>119503</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Using Widows domain accounts inconjunction with database/Enterprise Services defined roles (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/119505.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/119505.aspx</guid><pubDate>24 Jun 2002 17:32:00</pubDate><description>Anyone have some concise sample code that integrates Windows domain accounts security along with roles/groups contained/defined within a database or possibly Enterprise Services? (formerly known as COM Services) What I'm looking to do is utilize existing Intranet accounts while applying a custom user group structure (as developers don't often have the ability to have the IS department define domai...</description><dn247:id>119505</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Information on user (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/116698.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/116698.aspx</guid><pubDate>20 Jun 2002 20:03:22</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by Yannick Smits dotnet@stepcompany.com !DOCTYPE HTML PUBLIC &amp;amp;quot; //W3C//DTD HTML 3.2//EN&amp;amp;quot; HTML HEAD META HTTP EQUIV 3D&amp;amp;quot;Content Type&amp;amp;quot; CONTENT 3D&amp;amp;quot;text/html; charset 3Diso 8859 1&amp;amp;quot; META NAME 3D&amp;amp;quot;Generator&amp;amp;quot; CONTENT 3D&amp;amp;quot;MS Exchange Server version 5.5.2652.35&amp;amp;quot; TITLE Information on user /TITLE /HEAD BODY BR P FONT SIZE 3D2 Hi all, /FONT /P P FONT SIZE 3D2 How do I ge...</description><dn247:id>116698</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Email (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/117739.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/117739.aspx</guid><pubDate>20 Jun 2002 17:23:00</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by devin devinr@drone interactive.com Hello everyone. I'm learning asp.net and just tried to use the system.web.mail namespace and received an error about security. I'm working through Wrox's Beginning ASP.net using vb.net. In the book errata, they did address the security issue and had instructions for setting &amp;amp;quot;write&amp;amp;quot; permissions for the folder containin...</description><dn247:id>117739</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Is there a way to Enumerate the GenericPricipal object's roles array? (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/116697.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/116697.aspx</guid><pubDate>19 Jun 2002 13:35:08</pubDate><description>I've written some code that for each request, looks up user roles in a database, creates a GenericPrincipal object and populates the roles assigned to that user (see Application AuthenticateRequest below) I can then do things like: Label3.Text Context.User.Identity.Name.ToString() &amp;amp;quot; br &amp;amp;quot;; Label3.Text &amp;amp;quot; is a member of role Manager: &amp;amp;quot; User.IsInRole(&amp;amp;quot;Manager&amp;amp;quot;) &amp;amp;quot; br &amp;amp;quot;; However, I would like to be able...</description><dn247:id>116697</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Form Authentication and Roles (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/116696.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/116696.aspx</guid><pubDate>19 Jun 2002 13:35:07</pubDate><description>Hi, I have users with three different levels of authorization, each level will give them access to a specific sub folder of the web. Ideally, higher levels of authorization will include authorization to all lower level folders. I can not use Windows Authentication. What are my options to simulate roles with form authentication? different cookies for different roles role stored in session etc. I'm ...</description><dn247:id>116696</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Default page in form authentication (9 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114537.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114537.aspx</guid><pubDate>14 Jun 2002 04:56:01</pubDate><description>Moved from [aspngstart] to [aspngsec] by Cain Marco juggernaut@aspelite.com How do you change the default page from default.aspx when using forms authentication? </description><dn247:id>114537</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>What Sets IsAuthenticated=True (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114539.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114539.aspx</guid><pubDate>14 Jun 2002 04:56:00</pubDate><description>Moved from [aspngfreeforall] to [aspngsec] by Cain Marco juggernaut@aspelite.com I have a forms based application that is giving me fits. I noticed that, in a location where the IsAuthenticated property had been True, it was now false and the was not working as expected. I am wondering if I have a setting that is invalid?? Can anyone tell me what sets the IsAuthenticated property to True what cons...</description><dn247:id>114539</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Thread.CurrentPrincipal question (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114535.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114535.aspx</guid><pubDate>14 Jun 2002 04:55:57</pubDate><description>Ok, I went through the process of extending IPrincipal to suit my applications needs, and it works GREAT....for the first page hit only. I assign my custom IPrincipal object to Thread.CurrentPrincipal in the global.asax Application AuthenticateRequest evtn. It was my understanding that by assigning it to Thread.CurrentPrincipal in that event in the global.asax, would make my custom IPrincipal avai...</description><dn247:id>114535</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>form auth and pdf files (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114542.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114542.aspx</guid><pubDate>13 Jun 2002 02:48:00</pubDate><description>Has anybody run into this problem? I have setup form security on my web site. On the site, I am securing a few dir with exe,zip and pdf files using a Web.config that deny access to unauth users. I've setup my machine.config to go to my login page and setup the login page. I have also mapped exe,zip and pdf files in IIS 5.0 to be handled by the ASP.net dll (aspnet isapi.dll) only on GET and HEAD ve...</description><dn247:id>114542</dn247:id><dn247:siteId>145</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>2 levels of authentication (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114538.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114538.aspx</guid><pubDate>11 Jun 2002 23:17:00</pubDate><description>In my web.config in the root folder, it has forms authentication setup. I want to have a /Admin section with its own web.config. I have created a /admin folder with another web.config which allows only a certain user. The problem is that if I access the admin/index.aspx page it directs me back to the login.aspx page setup in the root's web.config. I want to have a separate login page for the admin...</description><dn247:id>114538</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Forms Admin with two Secure Areas and two logins? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114536.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114536.aspx</guid><pubDate>09 Jun 2002 18:07:00</pubDate><description>I have a site that uses forms authentication for controlling access to a directory structure. I now want to secure another directory structure on the site with a different login page. The settings in the web.config file are as follows: authentication mode &amp;amp;quot;Forms&amp;amp;quot; forms name &amp;amp;quot;.CharitySkillsAUTH&amp;amp;quot; timeout &amp;amp;quot;30&amp;amp;quot; protection &amp;amp;quot;All&amp;amp;quot; loginUrl &amp;amp;quot;/login.aspx&amp;amp;quot; path &amp;amp;quot;/&amp;amp;quot; / /authentication authorization allow user...</description><dn247:id>114536</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Move IIS off the c: drive? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/111835.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/111835.aspx</guid><pubDate>07 Jun 2002 05:56:00</pubDate><description>So to move my inetpub directory off the c: drive (this is still recommended right I did not see it in any MS checklists though), I just physically move the inetpub to d and use MetaEdit? BTW that MS (and a lot of others) link is dead. Original Message From: Rob Caron [mailto:robcaron@microsoft.com] 20 Sent: Tuesday, June 04, 2002 4:39 PM To: aspngsec Subject: [aspngsec] RE: [aspsecurity] Re: Secur...</description><dn247:id>111835</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Enumerate the GenericPrincipal's roles ?array (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110422.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110422.aspx</guid><pubDate>05 Jun 2002 12:52:51</pubDate><description>I've written some code that for each request, looks up user roles in a database, creates a GenericPrincipal object and populates the roles assigned to that user (see Application AuthenticateRequest below) I can then do things like: Label3.Text Context.User.Identity.Name.ToString() &amp;amp;quot; br &amp;amp;quot;; Label3.Text &amp;amp;quot; is a member of role Manager: &amp;amp;quot; User.IsInRole(&amp;amp;quot;Manager&amp;amp;quot;) &amp;amp;quot; br &amp;amp;quot;; However, I would like to be able...</description><dn247:id>110422</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Impersonation - uggrr (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106870.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106870.aspx</guid><pubDate>05 Jun 2002 12:52:50</pubDate><description>!DOCTYPE HTML PUBLIC &amp;amp;quot; //W3C//DTD HTML 3.2//EN&amp;amp;quot; HTML HEAD META HTTP EQUIV 3D&amp;amp;quot;Content Type&amp;amp;quot; CONTENT 3D&amp;amp;quot;text/html; charset 3Dus ascii&amp;amp;quot; META NAME 3D&amp;amp;quot;Generator&amp;amp;quot; CONTENT 3D&amp;amp;quot;MS Exchange Server version 5.5.2652.35&amp;amp;quot; TITLE Impersonation uggrr /TITLE /HEAD BODY P FONT SIZE 3D2 Hi , /FONT /P P FONT SIZE 3D2 Ambrose gave me some impersonation control I have allowed my MACHINENAME\ASPNET to run as part of OS b...</description><dn247:id>106870</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Impersonation - again (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106599.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106599.aspx</guid><pubDate>05 Jun 2002 12:52:48</pubDate><description>Hi all, First of all, apologies in advance for what seems to be the beating of a dead horse. I've poured over the docs and the discussions, but I can't find an example that quite meets my scenario. SCENARIO: ASP.NET webserver on Intranet using Windows authentication. Webserver needs to create directories on a Linux server running Samba based on user input. Samba configuration grants certain users ...</description><dn247:id>106599</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Forms Authentication and non .net pages (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106871.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106871.aspx</guid><pubDate>27 May 2002 17:04:00</pubDate><description>We have an old ASP site that is made up of .asp pages and .pdf, .ppt and .zip files for download. We now want to add to it and are planning on using .Net. Currently each ASP page checks for a session variable to ensure the user is logged in and each file has an asp extension to ensure this works even though there isn't any other scripting in the pages. If we re wrote the login page and moved over ...</description><dn247:id>106871</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title> Network Dir (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106598.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106598.aspx</guid><pubDate>23 May 2002 15:20:00</pubDate><description>Network DirHi all, I have tried ALMOST everything I can think of I have spent the whole of yesterday and today reading about the system.io class and all it can do but I hit a hard and frustrating wall when trying to use the directory.create(\\myremoteserver\share\newfolder) I keep receiving can not find path \\myremoteserver\share . When i try a file.delete(\\myremoteserver\share\myfile.txt) then ...</description><dn247:id>106598</dn247:id><dn247:siteId>145</dn247:siteId></item><item><title>Resolving DNS names with DNS.GetHostByAddress (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/20/104681.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/20/104681.aspx</guid><pubDate>22 May 2002 22:23:06</pubDate><description>I'm having quite a bit of trouble getting the System.Net.Dns class working in my asp.net application. Below is the simple line of code causing me grey hairs: Response.Write(&amp;amp;quot;host name:&amp;amp;quot; Dns.GetHostByAddress(Dns.GetHostByAddress(Request.UserHostAddress ).HostName); Hitting this page from the internal network resolves the machine name, but hitting this page from the internet, outside of the local ne...</description><dn247:id>104681</dn247:id><dn247:siteId>145</dn247:siteId></item></channel></rss>