security

My Event Log is full of ViewState was Invalid and Unhandled Exception

会有一股神秘感。 提交于 2019-12-23 19:00:37
问题 I have HealthMonitoring on for my website. 90% of my pages are accessed in the format http://www.itsmywebsite.com/showproduct.aspx?id=somenumber I was checking the WebEvents_events tables and saw that my table is full of primarily two errors ERROR 1 0002609ad8vdf45f8daffc7de8716e32 2013-11-25 17:01:18.153 2013-11-25 11:01:18.153 System.Web.Management.WebViewStateFailureAuditEvent 9877 1455 4009 50204 Viewstate verification failed. Reason: Viewstate was invalid. C:\HostingSpaces\parthak

Using SQL Credential to Open a file with OpenRowSet

你。 提交于 2019-12-23 18:50:41
问题 I am attempting to run the below statement: INSERT INTO table SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0; Database=//server/folder/file.xls; HDR=YES;', 'SELECT * FROM [Sheet1$]') However, I am receiving the below error: OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "The Microsoft Access database engine cannot open or write to the file '\\server\folder\file.xls'. It is already opened exclusively by another user, or you need

PHP cookies and sessions security for user accounts

不羁岁月 提交于 2019-12-23 18:41:42
问题 After researching ways to make a secure log in form with 'remember me' functionality I've come across many conflicting views on how to make this secure. The log in system I wish to create does not need to be highly secure, but I'd like to pick a nice secure and easy method and I have two questions. What should be stored in the session variables to check a user is logged in, is this just username (or ID). If it is just the username, what happens in the case where a user finds their account has

WCF Security: Difference between TransportWithMessageCredential and Message Security Mode

◇◆丶佛笑我妖孽 提交于 2019-12-23 18:27:58
问题 I would like to know the difference between TransportWithMessageCredential Vs Message in terms of WCF security. What I know is: Transport security: Is used to provide point-to-point security between the two endpoints. Message security: It provides end-to-end security. Because message security directly encrypts and signs the message, having intermediaries does not break the security. If we use TransportWithMessageCredential mode, is the SOAP message (Header and Body) encrypted? My concern is

Fix for Unicode Transformation Issue/Vulnerability in ColdFusion

十年热恋 提交于 2019-12-23 18:27:09
问题 We upgraded our security scanner recently, and it's reporting a new issue. What's the recommended fix? (We happen to be on ACF9.) (Also, if you have an example exploit geared to CF, I'd appreciate it.) Unicode transformation issues Severity High Type Configuration Reported by module Scripting (XSS.script) Description This page is vulnerable to various Unicode transformation issues such as Best-Fit Mappings, Overlong byte sequences, Ill-formed sequences. Best-Fit Mappings occurs when a

Security concern when accessing php superglobal directly

非 Y 不嫁゛ 提交于 2019-12-23 18:22:51
问题 I just upgraded my IDE (Netbean) to 1.7.4 beta, to test it out... and it seems that now it si giving me a warning whenever I access my superglobal variable. It says Do not access supergolobal $_POST Array Directly I am currently just using this $taxAmount = intval(ceil($_POST['price']*($TAX-1))); How much of a security concern is this really? Is this the proper way to do it, and does it make a difference? $price = $_POST['price']; $taxAmount = intval(ceil($price*($TAX-1))); 回答1: No, you can

Preventing link spamming through forms on rails

佐手、 提交于 2019-12-23 18:19:17
问题 Our rails app allows users who are not logged in to message registered users which creates a message object, stores it in our database and then emails the contents to a registered user. On our staging app, we have started to receive a lot of spam from bots that are crawling our site. We are worried about 2 things: The inconvenience to our users SQL injection or any other security vulnerabilities that we are not thinking about that could occur in this context What are some good ways to combat

How do I create parametrized XPath queries in SQL server?

非 Y 不嫁゛ 提交于 2019-12-23 17:57:51
问题 I am trying to write a parametrized query in SQL server that uses a parameter value as part of the XPath, however it does not seem to work the way I would expect it to. Here is my sample: create table ##example (xmltest xml) declare @LanguagePath varchar(75) set @LanguagePath = '(/languages/language[@id="en-US"])[1]' insert into ##example values ('<languages> <language id="en-US">c</language> <language id="es-ES">c</language> </languages>') insert into ##example values ('<languages> <language

Prevent AJAX flooding in Javascript

不打扰是莪最后的温柔 提交于 2019-12-23 17:37:57
问题 My site has a Javascript method that makes an AJAX request to add an item to cart without reloading the page and making a simple notification. AddToCart() However, using any Javascript console, I found you can flood this request with a simple statement: while (true) {AddToCart()} And eventually lock the server until the browser crashes. A more stable browsing environment could probably even lock the server indefinitely. So what would be the best way to protect against such an attempt? 回答1:

Oracle - Audit Trail for a specific user

只愿长相守 提交于 2019-12-23 17:31:38
问题 As stated on the topic , I am looking for a way for us to track on the activities of the specific user. May or may not have the SYSDBA or SYSOPER privilege. For example , HR. I would like to know what are the details of his login , what are the objects that are changed by him , what were their original values , SQL statements executed , what procedure/functions that were executed etc. Could we set up such audit trail log in Oracle 11gR2 Standard/Enterprise? Thanks 回答1: First of all you need