Welcome Guest, Not a member yet? Register   Sign In
Is this proper script for stopping csrf
#1

[eluser]behnampmdg3[/eluser]
Hello forum;

Can someone please explain how this is secure and not vunrable to csrf
Code:
<form acti method="post" accept-charset="utf-8" role="form"><div >
<input type="hidden" name="csrf_GCFEL" value="21150f748bdb36a274c45d5cc28428e2" />
</div>          <fieldset>
            <legend>Sign in</legend>
            <div class="form-group">
              <label for="exampleInputEmail1">Email address</label>
              &lt;input type="text" name="email" value="" class="form-control" input="exampleInputEmail1" placeholder="Enter Email" id=""  /&gt;            </div>
            <div class="form-group">
              <label for="exampleInputPassword1">Password</label>
             &lt;input type="password" name="password" value="" class="form-control" input="exampleInputPassword1" placeholder="Enter Password" id=""  /&gt;            </div>
            <button type="submit" class="btn btn-default">Submit</button>
          </fieldset>
        &lt;/form&gt;




Theme © iAndrew 2016 - Forum software by © MyBB