Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As far as I see it, you have two options available. </p> <ol> <li>Create a staging deployment, and make the IIS web site respond to a specific DNS request (e.g. <a href="http://sandbox.mywebsite.nothere" rel="nofollow">http://sandbox.mywebsite.nothere</a>). Either change your DNS settings, or chane your local hosts file (e.g. in <code>C:\Windows\System32\drivers\etc\hosts</code>). This is security through obscurity, and while it's not effective, it's easy and perhaps a good start.</li> <li><p>As suggested by Steve Morgan in a comment, implement authentication in your application. If you have an ASP.NET (MVC or not) application (I'm assuming MVC in my example), you can do with something like this:</p> <ul> <li>Create a MembershipController</li> <li><p>Create a Login action accepting username and password, implementation looking like this:</p> <p>public virtual ActionResult Login(Qinoa.Web.Models.LoginData model) { if(model.Username == "myuser" &amp;&amp; model.Password == "hardcodedPassword") { FormsAuthentication.SetAuthCookie("myuser", model.RememberMe); } return RedirectToAction(MVC.Home.Index()); }</p></li> </ul></li> </ol> <p>In your web.config file, set</p> <pre><code>&lt;authentication mode="Forms"&gt; &lt;forms loginUrl="~/Membership/Login" timeout="2880" /&gt; &lt;/authentication&gt; </code></pre> <p>On all your test containers add an <code>[Authorize]</code> attribute. Your app is now (rudimentary) protected.</p> <p>On a side note to #1: you can host multiple sites on one web role.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload