In which ways could a javascript making a cross domain HEAD request be a threat?

I was just reading this answer to the question Why is the same origin policy so important?

Basically, when you try to make an XMLHttpRequest to a different
domain, the browser will do one of two things:

If it’s a GET or POST request whic… Continue reading In which ways could a javascript making a cross domain HEAD request be a threat?

If I include a Forgot Password service, then what’s the point of using a password?

I’ve implemented a Forgot Password service in the following way:

User goes to login page, clicks on “Forgot password?”
User is presented with a form that asks for their email address.
Email is sent to given address if in the database, wi… Continue reading If I include a Forgot Password service, then what’s the point of using a password?