all groups > dotnet security > october 2007
Accessing a network share from ASP.NET
Posted by Arne Garvander at 10/31/2007 11:51:02 AM
When I need to access a file on a network share from web page I use
LogonUserA Lib "advapi32.dll" to impersonate a network user. Login name and
password of that user is in the code
Is this best practice?
Is there a better way?
--
Arne Garvander
Certified Geek
Professional Data Dude... more >>
httpwebrequest failure with .net service
Posted by chaz at 10/31/2007 10:36:01 AM
running Hi,
I have a .net 2.0 service that periodically needs to access a web site on
the same 2003 server machine that is configured to use https .
The only way I can get this working is to run the service with the
administrator login , no other account (system, local service, or account... more >>
Possible to restrict IP address access using ACLs?
Posted by StevenVibert NO[at]SPAM hotmail.com at 10/26/2007 5:56:04 AM
I'm in the process of writing a WinForms application that will allow
viewing MJpeg streams from 30+ ip cameras located throughout our
facility. None of the cameras will be accessable via the internet.
Each camera has password protected access for up to 5 users. Some of
these camera are locat... more >>
Prompt for domain login
Posted by pez at 10/21/2007 11:52:00 PM
Hi
I have a web application that uses Windows integrated security. In some
cases (approval scenarios that requires high security) i need to prompt the
user for a new domain login, even though they already authenticated.
I've tried redirecting the request so there's a zone change. This will... more >>
Cant Create Instance of IE7 Via IIS 7 (I think security related)
Posted by Will at 10/19/2007 11:04:01 AM
Has anyone tried this? I know back in the day I was able to do this in IIS
5.x and greater I know the security model in both IIS 7 and vista have
changed greatly. However I cant not do some of the IE automation that we have
going on behind the scenes (which is basically for creating dynamic sc... more >>
Cannot access the private key of a local machine certificate which is installed by another user
Posted by pulowen NO[at]SPAM yahoo.com.cn at 10/17/2007 6:57:09 AM
Hi everyone,
I met a problem when accessing the private key of a local machine
certificate which is installed by another user.
My software evr is win xp sp2 + v c# 2005 express + .net 3.0, seems
all right.
I'm using c# to create the X509Certificate2 object, and specified the
X509KeyS... more >>
SQLClientPermission problem
Posted by NuttingCDEF at 10/14/2007 3:55:57 AM
This is driving me dotty . . .
I have written some C# code that accesses a SQL Server database. I
have 2 machines. The database is on Machine 1. If I run my code on
Machine 1 it works fine. If I run my code on Machine 2, I get a
SqlClientPerrmission exception when opening the database conn... more >>
??? Which Key Encrypts .Config Files ???
Posted by Tom Baxter at 10/10/2007 11:17:18 PM
Hi everyone,
I have a small block of code that encrypts a database connection string in a
..config file, but I'm not sure where the encryption key comes from. There is
no problem with this code -- it seems to be working fine -- I am able to
retrieve the connection string with no problem aft... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Try to hack my web site!
Posted by Ivo at 10/5/2007 12:00:00 AM
I am programming forum. Tech is ASP.NET, C# and SQL Server 2005. I want to
see is my site safe, have I made some security problems. Can you try to hack
my site untill 10-september-2007.:
http://www.search4affiliate.com/Forum.aspx
Thanx
... more >>
SSL for dummies... how to generate X509Certificate (*.DER) files?
Posted by James Crosswell at 10/4/2007 10:43:15 PM
I need to establish an SSL connection to a web site, do an HTTP post and
retrieve the response. I currently have the following code (based on
something I found in a blog somewhere - can't remember where):
public string PostData(byte[] postData, string serverAddress,
string certific... more >>
pki - Event 80 I just cant find anyone who can shed light on this!
Posted by Bill Dishman at 10/3/2007 2:16:06 PM
I have had PKI running now for a year. Now I am seeing event 80 messages as
below in my ca's event log. I cannot figure it out. Something has changed,
but i have searched everywhere and not found an answer to what this really
means.
I am not publishing certificates to a number of users due ... more >>
How can I retrieve all the sibling domains in a forest?
Posted by Pucca at 10/2/2007 8:22:01 AM
Hi, I'm using vs2005, .net 2 for a C# windows appliation.
forest = Forest.GetCurrentForest();
///This gets me all the domains of a forest. How can I get just the 1 level
of sibling domains? I know how to drill down to the children domain but not
sure how to get the sibling domains.
Thank... more >>
|