Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer
Recent update: 2008-3-7

The Ten Immutable Laws of Security

93 byte By Michael Howard at 2008-3-7
check this out... it rocks... http://www.microsoft.com/technet/security/10imlaws.asp

What makes security hard?

205 byte By Michael Howard at 2008-3-6
I'd like to understand what makes security hard. Is it gluing security islands together? is more knowledge required? Is it time constraints? what? lemme know! Cheers, MH

programmatic security in data access or bus logic tier?

374 byte By Flacco at 2008-3-5
I'm designing an IIS/MTS/SQL7 application with some complex data accesssecurity requirements. Would it make more sense to encode this in thebusiness logic layer or the data access layer?Access is driven by business rules; but on the other hand, it might makemore sense to implement this deeper,...

ASP MTS security with IE and Netscape

169 byte By Patrick Long at 2008-3-3
Anyone implementing a DNA application across ASP, MTS and SQL 7.0 which must support IE and Netscape navigator? If so what security mechanism are you using?

Does ASP 2 have access to NT4 User Groups?

677 byte By Joshua Gunder at 2008-3-1
Hello, I can access NT user names in ASP using theserver variable LOGON_USER. But I have been made awareof my requirement in my application to allow is disallowaccess to certain resources based on what NT Group a useris a member of.So far I have controlled permissions based on groupsat the file syst...

Passwords, Cryptography, and Random Numbers: IBM resources

1485 byte By Jeff Condon at 2008-2-28
Articles on IBM developerWorksPasswords - Software security for developers------------------Like many security technologies we have discussed in this series on developerWorks,the idea is simple and elegant, but getting everything exactly right is harderthan it first appears. In this installment, Gar...

IE Script Security Settings

485 byte By Chris at 2008-2-27
I am writing HTML for the intranet site, and am using script to open Worddocuments in Word, using CreateObject("Word.Application").To make this work requires setting a security option in IE. That is:Initialiseand Script ActiveX controls not marked as safe. It must be set to Enableor Prompt.This sett...

access denied - dos command from an asp

591 byte By jp at 2008-2-26
i have sever code (vbscript) which shells out to dos to execute an AT commandto schedule tasks on some servers on which i have admin authority. if iattempt to do this on my loacal machine it works fine but if i attempt toschedule a task on any of the remote servers i get access denied. the iusracco...

.NET

1124 byte By Claude Petit at 2008-2-25
What do you think about M$'s .NET strategy and security/privacy issues itmay cause? Do you think it's really good to have applications running ona remote server on the Internet? Do you like the idea that you will needto connect to the Internet to read and write Word documents or Excel shee...

Using the Session object with IIS security

511 byte By Andrew McLellan at 2008-2-24
I'm an experience developer new to ASP. I am building a typical site whereuser are limited to certain areas based on a password. I think the logicworks as follows... The user logs in and security information must be storedin the Session object. When the user requests a page, the ASP sends in...

ASP Security for Binary files

519 byte By Dana Pellerin at 2008-2-23
I have developed a simple security scheme that stores a cookie on the usersmachine and then uses a small script at the top of each page to check thatcookie for authorization before serving the page. The problem I run intois that I want to return a .PDF file to the client but obviously I can'tpu...

.Net runtime security within a browser

704 byte By Carl Nettelblad at 2008-2-22
"Nix" mappinathotmaildotcom wrote:>>I have looked at the available info on msdn et al and Im quite excited about>the ability to run c# programs/applets from within a browser, (specifically>the Winforms technologies).>The problem is that is looks as though MS is planning to support Act...

help on protecting web content

251 byte By Frank at 2008-2-22
I have a client that wants to sell his content on the web. He wants to control how long it can be viewed and if it can be saved or downloaded. does anyone know of an application that does that?? please respond Frank

SQL Server, creating a view - permissions

210 byte By Michael at 2008-2-21
Question: Can a user who has CREATE VIEW in a database create views under a different id? Eg User ABC creating a view called DBO.REPORT1. Your reply would be very much appreciated. Michael

ANN: Agile Infrastructure

4838 byte By James McGovern at 2008-2-20
The industry speaks positively about agile methods for software development( http://www.agilealliance.org) but hasn't yet applied those principles tothe folks who do networking and infrastructure. It is overdue and I willtake the first shot at some things that can make them more agile:1.. Keep n...

LDAP Security

349 byte By Kannan Palanisamy at 2008-2-19
I have tried your sample code for Active Directory User validation. I havedone the changes in Web.config as per your instructions. But login.aspx fileaccepts any values. It does not validate the users. Is there any others things,I have to do?I am running this application from my PC, which runs on Wi...

CAPICOM signature error

393 byte By PB at 2008-2-18
Hi,Whenever I call the Sign method I get an error which says "The certificateis not valid for signing".I have tried this with all certificates, even those whose stated purposeis for signing and have private keys.What is going wrong? And why don't the provided samples work?I am running this from...

CAPICOM certificate context

467 byte By Bill Thomas at 2008-2-17
I am having lots of fun with CAPICOM. Problem is, I have another 3rd partytool that needs to be passed a pointer to a cert context. (PCERT_CONTEXTor something). I can create a memory store, load it from a .pfx file containingone cert, but how do I get this context thing frommyStore.Certificates[1]...

Accessing security information through COM

347 byte By Gary Herman at 2008-2-16
Does anyone know how to access security information with a COM object. Iam trying to identify what groups an authenticated user is in while loggedinto the intranet at my office. I was wondering if anyone knows of a COMobject or method to to do this... if possible I would also like to ascertainthei...

IIS outside - SQL inside

442 byte By Sidney Moore at 2008-2-15
My company is in the process of moving our web server outside the firewall.Currently all our Microsoft Access databases and our SQL database resideon the web server. I want to move the databases to a server inside our firewall,however I am concerned about communication between the web server outside...

Consistent cross platform message digests using SHA-1?

754 byte By Larry Leeth at 2008-2-15
I've been experimenting with the SHA-1 and MD5 implementations in JDK 1.4.There is some sample code in IBM DeveloperWorks, with sample results fora simple string: "This is a test!" yielding an SHA-1 message digest ofD93,.x2%$kd8xdp3di5*Trying to duplicate the results on a Sun box, I just got a...

Cannot access Files on Stand-Alone Server from Web Server

1123 byte By richardl at 2008-2-15
I have a "LAN" set up with about 10 stand-alone NT Servers. They are allNT4SP6. I do not have a Primary Domain Controller on this "LAN".One of these servers is a web server (Apache 1.3, CF4.5). Another of theseservers is a server (the "Switch") that runs a Telecom Switching applicationwhichstores...

Private Key Storage.

389 byte By Andre at 2008-2-14
I'm building java web based application.I'm going to encrypt some sensitive data and store it in the database. (SQLServer) But I have no idea how I should securely store the private (or secret)key. What is the right way of doing that?Are there any products dedicated to this particular prob...

call the library capicom from Visual C 6

79 byte By nchele at 2008-2-14
Hello, With call the function of the library CAPICOM from Visual C 6.0

capicom error -2146893802

131 byte By Gabriel at 2008-2-10
When I sign the document with the method Sign this error ocurred. why? the message "keys set not exit" sorry for my English

Wireless LAN & 802.11 Security Workshop

538 byte By Brian Mansfield at 2008-2-9
WHAT: Wireless LAN & 802.11 Security WorkshopWHEN: Thursday, May 16WHERE: Embassy Suites Hotel, San Francisco AirportREGISTER: www.itvshop.com/wlan-securityWorkshop sessions include:- Inherent security vulnerabilities with WLANs- AIRSnort, WLAN packet sniffers & War Driving- 802.1X solutions (TKIP,...

Secure applications

287 byte By Renato at 2008-1-31
Hi all, i have to learn something on how to build secure applications. Can some one give me some link? Thanks in advance. (i found an article "Secure Systems Begin With Knowing Your Threats, Part 1 by Michael Howard" but is too short. I need something like this.

Network Share permissions

335 byte By Curtis at 2008-1-22
I need to get a list of all network shares and the groups that have accessto the shares. I have looked into using C++ and the NetShareEnum function,but it seems to be going nowhere. are there any suggestions as to how Ican get this information ( preferably in a text file )? Any help would begreat...

Urgent: Capicom Problem

481 byte By Payaswini at 2008-1-19
Hi,I'm trying to use Capicom1.0A in asp environment as activex control for digitalsigning and verification. The code I have written works fine if I use Windows2000 as my webserver. But same code when I access with Windows NT4(ServicePack 6) as my webserver, it fails to work. Capicom control can...

Need help in multiple signing

577 byte By Teh Han Voon at 2008-1-13
i have been trying to sign a message using multple receiver certificate.my rational behind this is i wanna sign the original message using my ownprivate key and then i send the document for another person to sign the document.i wonder if there is any standard practise by people in doing muliple sign...

Executing custom script/exe at Logon/Unlock

520 byte By Biswa at 2008-1-13
I am using an NT 4.0 Wkstn(SP6). Forgive me - it is not *exactly relatingto* the context of this group.I want to run a Script/Program in the following two events:1. At Logon (This is easy and I know.)*AND*2. When a user had already logged on the machine, has locked it and now unlocksit with his User...

CAPICOM

369 byte By Marcos at 2008-1-12
How Can I Connect to AD on WorkStation Machine, I tried the follow code:Dim SubjectNameCn As StringSubjectNameSN = "CN=*"myADstore.Open CAPICOM_ACTIVE_DIRECTORY_USER_STORE, SubjectNameSN,CAPICOM_STORE_OPEN_READ_ONLYmyCAstore.Open CAPICOM_CURRENT_USER_STORE, CAPICOM_MY_STORE,CAPICOM_STORE_OPEN_READ_W...

Please, I need Help With PKI, Capicom, CryptoAPI

373 byte By marcos at 2008-1-12
Im building an application and on this application I have to send adocument throut the network. I have to use PKI, but the problem is I have noidea how it works, I need informations, examples and documentation.I was looking for information on Microsoft Page, but the informations are sopoor.Any help?...

dencrypting

206 byte By Scott Mann at 2008-1-10
Hello, My Windows XP crashed and i reinstalled it. I had some files and folders encrypted now i can't unecrypt them now. Is there a way to decrypt them? Thanks Scott Mann

system login

332 byte By Lisa at 2008-1-10
Hello,I am working with Oracle 8i installed on a Windows NT box. The install wasdone months ago by someone who is not available, and no one here remembersthe system login password. Is there a way to find or reset the system password?We have logins with DBA privileges available.Thanks in advance,Li...

Certificate Services and Secret Keys

96 byte By Andre at 2008-1-10
Is there any way to use Certificate Service as Secret Key storage for encryption/decryption.

Access to DirectDraw Objects

2073 byte By Sheela at 2008-1-10
Hi,I am using DirectX 7 (DirectDraw only) on Win2000 in a DLL. A service whichuses the DLL is started automatically using the 'Local System account' onstartup. One or more instances of an application using the same DLL may bestarted later. When an application is started later, it fails to...

replacments for sprintf and sscanf

147 byte By San at 2008-1-9
What would be the ideal replacements for sprintf and sscanf, according to the art : "15 Tips for Secure Win32 Programming " Thanks, San

perform a proper vulnerability analysis of an operating system

166 byte By tommy at 2008-1-9
Any on got good links for straight forward methods or sites with good info on the subject. I've searched and haven't found anything straight forward

Notice: Newsgroup Server May Be Down This Week

394 byte By Russell Jones at 2008-1-9
During the week of October 29, we will be performing some site maintenanceon several areas of dev-archive, including discussion groups. A brief period ofdowntime may be unavoidable. If downtime occurs we will bring the groupsback online as quickly as possible.Thank you in advance for your patience.R...

Launch an application under admin privilege

232 byte By Phong Nguyen at 2008-1-9
Hi, I am new in windows security. Anyone has the source code that launch an application under admin privilege or the links to the websites that relate to this topic, please share with me. Thanks in advance.

Security - Access 2002

315 byte By Scott at 2008-1-8
My question concerns auditing after implementation of security on an AccessDatabase. Is this possible?What I am looking for is a log of the users that change records in thedatabase.Is it more feasible for me to move the database to SQL for this function?ThanksScott...

Linux vs Windows

713 byte By HDM1 at 2008-1-8
Can anybody comment on the market conditions of using Linux vs Windows serversand where this leaves Microsoft oriented web application developers? SomebodyI know raised some weaknesses Microsoft has in terms of security to constantlyadd new security patches and the costs involved in doing this. I...

Snoopy network Administratot

1833 byte By James Barbetti at 2008-1-8
Hi Tony>>Can anyone tell me if it is possible for a network administrator to>>have a copy be sent to himself of all mail messages being sent>>from one indivdual on the mail server to another individual on>>the mail server with out them knowing?Absolutely. It is in fact very...

bug in CAPICOM?

246 byte By rajeev dutt at 2008-1-8
I think there is a problem with the CertificateStatus object in capicom. Whenever I use the status property of the CertificateStatus object, then the process that uses it gets stuck in memory. I'm using CAPICOM version 1.0A.

Passwords - HELP ME

967 byte By Brad Kilroy at 2008-1-7
"Gary" <gliuhome@aol.com> wrote:>>"Stanley" <scarr@skg-tech.com> wrote:>>>>Hi,>>>>I'm in the the process of changing the password for 3 letter two number>3>>letter, to 3 letters 2 numbers 3 letters and a symbol sign. I'm new tothis>>...

Passwords

246 byte By Stanley at 2008-1-7
Hi, I'm in the the process of changing the password for 3 letter two number 3 letter, to 3 letters 2 numbers 3 letters and a symbol sign. I'm new to this and I'm having problems writing the script. Stanley

Password synchronization tool

295 byte By Tom Mertens at 2008-1-7
Hi, Do you know of a password synchronization tool, that has the possibility to synchronize passwords between Windows NT 4.0/2000, AS/400, Oracle and, if possible, Unix? Preferably this tool would be distributed by a company in Europe. Best regards, Tom Mertens

Com+ Security

264 byte By Curt at 2008-1-7
I am new to Com+ and I need to know if the specified account to launch the application in needs to be part of the Administrators group on the local server. Also if any one knows of a How-To or cookbook on Com+ security for programmers. Thanks

Local NT User Account

341 byte By Andy Driskell at 2008-1-6
Hi there everyone,I am trying to put together a small program that will reset local administratorpasswords quietly as a part of the login script (novell) however I am havingproblems tracking down API Calls to achieve this. Can anyone point me inthe right direction.Thanks in advanceAndy Driskell...