LogonUser() fails on same domain
Fri, 18 Apr 2008 06:27:45 -0700 (PDT)
Hi
I am using VS2005 SP1 and using LogonUser() API
ASP.NET 2.0 , IIS 6 . Win2003 server SP2
If LogonUser(Username, _
Domain, _
Password, _
LOGON32_LOGON_NETWORK, _
LOGON32_PROVIDER_DEFAULT, token) = True then
return success
I have two ...
|
ADSI - Able to authenticate but unable to get memberOf information
Thu, 17 Apr 2008 13:52:01 -0700
I've got an asp.net site where it's setup to use forms authentication. I
take the username and password provided and authenticate them by calling the
LogonUser method (from advapi32). If that is successful I call the
DuplicateToken method and then using WindowsIdentity impersonate the user and
attempt to g ...
|
Authentication Not working from 1 client
Thu, 17 Apr 2008 06:37:00 -0700
I have an asp.net 1.1 application running on a server on a different network.
It runs fine when clients have been accessing it. However there is 1 server
from which the forms authentication doesn't work. Basically when I try to
access the application I get directed to the login page and when I submit
this ...
|
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Tue, 15 Apr 2008 14:03:29 -0700
GC.Collect() not cleaning memory, how to find out what references to lots of
memory still exist?
When all my processign is done i set everything to null and then:
GC.Collect();
and then
GC.WaitForPendingFinalizers();
but it still shows that my process takes 400 MB of memory. Is there any easy
way to see w ...
|
Securing a directory and its files with forms authentication
Tue, 15 Apr 2008 13:27:49 -0700 (PDT)
I have a simple asp.net 2.0 application that includes two components:
- a file uploader
- a lister of files that have been uploaded
Files are word processing documents; they get stored to a "papers"
subdirectory of the application.
It would be good if both the file lister *and* the files in "papers"
were ...
|
Re: System.Net.Cookie vs System.Web.Cookie
Mon, 14 Apr 2008 19:08:21 +0000 (UTC)
OK - this is possible.
Use your server name as a domain like "www.server.com"
if web app and service are in different vdirs / servers you also need to
sync the <machineKey /> element.
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http ...
|
url rewriting and authentication
Mon, 14 Apr 2008 09:38:53 -0500
Hello All,
We have an application in which we are planning to have a virtual url
system which is completely driven by configuration files. to accomplish
this we need to receive all urls at the same directory path, and then
according to url rules write them out to different pages which might be
in diff ...
|
|
|
some valid users not able to login with ActiveWindowMembershipProv
Mon, 14 Apr 2008 07:30:01 -0700
For some(very less in fact) users, our forms
authentication based .NET application (using ActiveWindowMembershipProvider)
not letting them login.
When we checked we found that, the MembershipUser object returning null
for those usernames !!
Other usernames are getting validated and returning proper Membe ...
|
System.Net.Cookie vs System.Web.Cookie
Fri, 11 Apr 2008 14:50:01 -0700
Hi,
How to create System.Net.Cookie from System.Web.Cookie?
THanks.
William ...
|
configure SSL
Thu, 10 Apr 2008 18:23:44 -0600
hi, I have a web site with "forms authentication" and all works.
What are the steps to use SSL in my website?
Thanks.
...
|