Inspirations, captions, ideas and notes.

Archive for the ‘Web Application’ Category

Viewing ASP.NET / .ASP pages outside Visual Web Developer

Are you using Windows XP and having problems with viewing your .asp pages via localhost?  If you’re having trouble viewing your ASP.NET / .ASP pages, and can swear that IIS has been installed successfully like I did (hah), perhaps these steps will help you, like they helped me. I was able to view the .asp [...]

Trapping malicious codes in your cfm sites

I came across this sometime ago, but complete forgot about it. If you are looking for ways to trap malicious codes in your cfm sites, have a look at this: Function isHackAttempt(MaliciousCode) { //Set the Regular Expression used and any local vars Var strRegex = “(%)|(– )|(‘ )|(script)|()|(%3c)|(%3e)|(script)|(SELECT)|(UPDATE) |(INSERT) |(DELETE) |(DROP)|(GRANT) |(REVOKE)|(UNION)|(<)|(>)”; Var blnCodeDetection = [...]

Follow

Get every new post delivered to your Inbox.