Showing posts with label site. Show all posts
Showing posts with label site. Show all posts

2014-02-19

Level Up - Webmaster: How To Randomly Redirect Visitors To Different Websites

There is a very simple method using PHP to have visitors automatically redirected to another site.

Why this is useful:
- User clicks "Take me to a random" page. You can finely-tune the random outcome.
- You are doing some A/B testing and want to sent users to different locations to test.
- Or, like me, you want to share your various websites/games, from a single button.

Try clicking
Ex: http://apps.simplyadvanced.net/windows8/redirect

Step 1: Here's all the PHP code that you need:

$urls = array("siteA.com",
              "siteB.com",
              "www.example.com"); $url = $urls[array_rand($urls)]; header("Location: http://$url"); ?>

Step 2: Done

Or, if you want to redirect the visitor after they visit a certain URL on your domain, then simply create an "index.php" file in the public directory that you want users to be redirected from, then the above code is all that you need to put in it.

Try it: Random Windows 8 Games created by me.
Try it: Random Windows Phone Games created by me.

~ Danial Goodwin ~



2014-01-04

Cryptic Military Password Requirements

Just a few notes here for an unnamed (non-secret) military (ending with .mil) website. The sole idea of this post is to briefly articulate how "strong" of a security password is required, that is, until everything moves to requiring a physical, smart card + card reader.

(The following is not word for word, but just the general idea in my own words.)

Here's what is highly recommended (read: required) by the site:
- Up to 55 characters.
- Contain 2+ of each of the following
   - UPPERCASE letters
   - lowercase letters
   - symbols   - numbers
- NOT contain:
   - Any self-identifying information
   - Words that can be found in the dictionary (thus preventing dictionary attacks)
   - Common passwords, like "password", "654321", "abc", "qwerty", "asdfghjkl;'"

And, now the special considerations:
- Password lasts less than six months
- Can't reuse passwords
- Passwords must be significantly different from previously used ones

The above is all true.

Now, how does one remember this obfuscated password?

Well, one idea is to write it on a sticky note and put it on the computer. (Please don't do this). Another idea is to not remember the password and deal with possibly a weaker route of just knowing a few pieces of self-identifying information for a call or automatic password recovery system.
Two more bad ideas for remembering complicated passwords to a secure system:
- Using a third-party password solution
- Save in a plain text document
- Save in an encrypted document with the decryption key on the same machine

ps - Post purposely vague and without a final conclusion. It is my hopes that readers will find more reputable sources than a random blog on the Internet to read. Here's a good mostly-unbiased start: https://www.google.com/search?q=what's+a+safe+password

~ Danial Goodwin ~

pps - If you would like to know more about security for URLs, then check out my post from two years ago that still holds true today: http://blog.simplyadvanced.net/what-you-dont-know-about-urls-and-how-you-will-be-tricked/



2013-12-27

Google Search Answers

For some search queries, Google displays an answer at the top or right of the results. In order to get these results Google usually has to scrape content off of other sites. So,

Is it possible to scrape Google's answers off their search results page, which they have scraped off of others?

I'm sure it is. I just don't just have time to look it up, so that's why I'm sharing.

Have fun,
~ Danial Goodwin ~



2012-06-05

Personal Portfolio Site Redesign is Finished - djgoodwi.myweb.usf.edu

Not bad. The same site looks great on everything from large desktop monitor to tiny smartphone screen.

Definitely thanks to Twitter Bootstrap for the base framework. It has saved me many hours in design.

Please check out my site and let me know what you think. =]

Simply Advanced Home Page
Simply Advanced Homepage


There are still a few more projects I have to add, as soon as I find the pictures.
~ Simply Advanced ~