¡@

Home 

c# Programming Glossary: security

C# - Correct Way to Load Assembly, Find Class and Call Run() Method

http://stackoverflow.com/questions/1137781/c-sharp-correct-way-to-load-assembly-find-class-and-call-run-method

Now you can unload the assembly and have different security settings. If you want even more flexibility and power for dynamic..

How can I generate random 8 character, alphanumeric strings in C#?

http://stackoverflow.com/questions/1344221/how-can-i-generate-random-8-character-alphanumeric-strings-in-c

use of the Random class makes this unsuitable for anything security related such as creating passwords or tokens. Use the RNGCryptoServiceProvider..

What are the pros and cons to keeping SQL in Stored Procs versus Code

http://stackoverflow.com/questions/15142/what-are-the-pros-and-cons-to-keeping-sql-in-stored-procs-versus-code

directly to a central database That seems like a HUGE security hole right there and bottleneck as it rules out server side..

What is a good pattern for using a Global Mutex in C#?

http://stackoverflow.com/questions/229565/what-is-a-good-pattern-for-using-a-global-mutex-in-c

edited by Jeremy Wiebe to add example of setting up security for multi user usage edited by 'Marc' to work also on localized.. null MutexRights.FullControl AccessControlType.Allow var securitySettings new MutexSecurity securitySettings.AddAccessRule allowEveryoneRule.. var securitySettings new MutexSecurity securitySettings.AddAccessRule allowEveryoneRule mutex.SetAccessControl..

Accessing Password Protected Network Drives in Windows in C#?

http://stackoverflow.com/questions/2563724/accessing-password-protected-network-drives-in-windows-in-c

the standard logon provider for the system. The default security provider is negotiate unless you pass NULL for the domain name.. default provider is NTLM. NOTE Windows 2000 NT The default security provider is NTLM. summary Default 0 summary Use this provider.. process can obtain information about the client such as security identifiers and privileges but it cannot impersonate the client...

What static analysis tools are available for C#? [closed]

http://stackoverflow.com/questions/38635/what-static-analysis-tools-are-available-for-c

CAT.NET visual studio addin that helps identification of security flaws Quality Metric Tools NDepend great visual tool. Useful..

How can I create a Product Key for my C# App

http://stackoverflow.com/questions/453030/how-can-i-create-a-product-key-for-my-c-sharp-app

the user having to type it . Beware of false sense of security though sooner or later someone will simply patch your program.. your scheme anything you do for this will ultimately be security through obscurity and they will always be able to this. Even..

Protect .NET code from reverse engineering?

http://stackoverflow.com/questions/506282/protect-net-code-from-reverse-engineering

but it can't protect from breaking the piracy protection security of the application. How do I make sure that the application..

Windows Impersonation from C#

http://stackoverflow.com/questions/559719/windows-impersonation-from-c-sharp

user XYZ when connecting to a db using windows integrated security . Most important of all Is there a way to do this without knowing..

Developing Internet Explorer Extensions?

http://stackoverflow.com/questions/5643819/developing-internet-explorer-extensions

03 23 understanding ie10 enhanced protected mode network security addons cookies metro desktop.aspx IntPtr phKey new IntPtr var.. 03 23 understanding ie10 enhanced protected mode network security addons cookies metro desktop.aspx IntPtr phKey new IntPtr var..

Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials

http://stackoverflow.com/questions/659013/accessing-a-shared-file-unc-from-a-remote-non-trusted-domain-with-credentials

then transfer it back. For various and sundry reasons our security network architects have rejected the first two approaches. The.. first two approaches. The second approach is obviously a security hole if the remote computer is compromised the local computer..

How to get a user's client IP address in ASP.NET?

http://stackoverflow.com/questions/735350/how-to-get-a-users-client-ip-address-in-asp-net

use an annoymising proxy to further confound you for security or privacy reasons they route their web traffic via a proxy..

Replacing .NET WebBrowser control with a better browser, like Chrome?

http://stackoverflow.com/questions/790542/replacing-net-webbrowser-control-with-a-better-browser-like-chrome

with all that entails in terms of CSS screw ups potential security risks if the rendering engine wasn't patched can I really expect..

How to execute a stored procedure within C# program

http://stackoverflow.com/questions/1260952/how-to-execute-a-stored-procedure-within-c-sharp-program

new SqlConnection Server local DataBase master Integrated Security SSPI conn.Open SqlCommand cmd new SqlCommand dbo.test conn..

How do you check for permissions to write to a directory or file?

http://stackoverflow.com/questions/130617/how-do-you-check-for-permissions-to-write-to-a-directory-or-file

answer to get rid of obsolete methods. You can use the Security namespace to check this public void ExportToFile string filename..

Detect Antivirus on Windows using C#

http://stackoverflow.com/questions/1331887/detect-antivirus-on-windows-using-c-sharp

software installed in a machine using C# I know the Security Center detects antivirus software but how can you detect that.. improve this question According to Microsoft The Windows Security Center uses a two tiered approach for detection status. One.. Instrumentation WMI . In manual detection mode Windows Security Center searches for registry keys and files that are provided..

What are the pros and cons to keeping SQL in Stored Procs versus Code

http://stackoverflow.com/questions/15142/what-are-the-pros-and-cons-to-keeping-sql-in-stored-procs-versus-code

no procs to port Advantages for Stored Procs Performance Security c# sql sql server stored procedures share improve this question..

Hash and salt passwords in C#

http://stackoverflow.com/questions/2138429/hash-and-salt-passwords-in-c-sharp

to put them into text files. In my book Beginning ASP.NET Security oh finally an excuse to pimp the book I do the following static..

The underlying provider failed on Open

http://stackoverflow.com/questions/2475008/the-underlying-provider-failed-on-open

AttachDbFilename DataDirectory NData.mdf Integrated Security True Connect Timeout 30 User Instance True MultipleActiveResultSets.. Data Source . SQL2008 Initial Catalog NData Integrated Security True Connect Timeout 30 User Instance True MultipleActiveResultSets.. post the problem here is that they were using Integrated Security . If you are running on IIS your IIS user needs access to the..

Validate a username and password against Active Directory?

http://stackoverflow.com/questions/290548/validate-a-username-and-password-against-active-directory

can you ask for Read all about it here Managing Directory Security Principals in the .NET Framework 3.5 MSDN docs on System.DirectoryServices.AccountManagement..

Best Free Controls for .NET [closed]

http://stackoverflow.com/questions/361271/best-free-controls-for-net

FckEditor TinyMCE UserName Availability Control Webforms Security Kit Animation Loading Circle NeatUpload Various FileUpload Controls..

How do I execute a large SQL script (with GO commands) from c#?

http://stackoverflow.com/questions/40814/how-do-i-execute-a-large-sql-script-with-go-commands-from-c

c temp sqltest string sqlConnectionString Integrated Security SSPI Persist Security Info True Initial Catalog Northwind Data.. sqlConnectionString Integrated Security SSPI Persist Security Info True Initial Catalog Northwind Data Source local DirectoryInfo..

How to execute an .SQL script file using c#

http://stackoverflow.com/questions/650098/how-to-execute-an-sql-script-file-using-c-sharp

sender EventArgs e string sqlConnectionString @ Integrated Security SSPI Persist Security Info False Initial Catalog ccwebgrity.. sqlConnectionString @ Integrated Security SSPI Persist Security Info False Initial Catalog ccwebgrity Data Source SURAJIT SQLEXPRESS..

The provider is not compatible with the version of Oracle client

http://stackoverflow.com/questions/659341/the-provider-is-not-compatible-with-the-version-of-oracle-client

Data Source MyOracleServerName Integrated Security SSPI oOracleConn.Open Do Something oOracleConn.Close The error..