How do some web services recognize I’m logging in from a new location?

Here are some ideas you may be interested in… As I already said to you it’s not an exact science. You should keep what’s important for security first and consider all this “optional” Plus, remember that all suggested “time durations” are subjective depending on how frenetic are accessess to your site and how strong should … Read more

Separate application pools for ASP.net applications in IIS

Reposted from ServerFault, “Why add additional application pools in IIS?” AppPools can run as different identities, so you can restrict permissions this way. You can assign a different identity to each app pool so that when you run task manager, you know which w3wp.exe is which. You can recycle/restart one app pool without affecting the … Read more

Recurring billing with Rails and ActiveMerchant: Best practices, pitfalls, gotchas?

One thing I wanted to add: keep in mind you don’t need to use the recurring billing feature that is built into the gateway. In general these systems are legacy and very difficult to deal with, we get spoiled in the rails world. You get a lot more flexibility just using them for one purpose … Read more

What is a reliable method to record votes from anonymous users, without allowing duplicates

I’d collect as much data about the session as possible without asking any questions directly (browser, OS, installed plugins, all with versions numbers, IP address etc) and hash it. Record the hash and increment a counter if you want multiple votes to be allowed. Include a timestamp (daily, hourly etc) in the salt to make … Read more

How does Tomcat find the HOME PAGE of my Web App?

In any web application, there will be a web.xml in the WEB-INF/ folder. If you dont have one in your web app, as it seems to be the case in your folder structure, the default Tomcat web.xml is under TOMCAT_HOME/conf/web.xml Either way, the relevant lines of the web.xml are <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> so … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)