Tag Archives: autenticazione

BCrypt Salts, PHP and MySql

When my bcrypt hash is stored into the database it contains the salt and the hash together.
From my understanding is that the the salt contains $2a$ to define bcrypt and two digits as the work amount. (Ie 10) Lo… Continua a leggere

Tagged , , , | Lascia un commento

Prevent sessions from expiring and causing errors

My question is more of a conceptual one, since I’m rather new to working with users and sessions.
My current setup is Codeigniter running with the Tank Auth user library
My problems I’m experiencing are, the users are being loggedContinua a leggere

Tagged , , , | Lascia un commento

Soap Authentication using Session IDs

I am building an API using Zend Soap and there has to be some sort of authentication to actually use the API. Also I don’t want the user credentials to be sent over the net each time a request isContinua a leggere

Tagged , , , , | 1 Come

Simple SSO system like Google Identity Toolkit but without the locked UI?

The Google Identity Toolkit is awesome. So clean and easy to set up! Trouble is, it forces you to use its UI, which isn’t working for me. Is there anything else out there that will let the visitor click aContinua a leggere

Tagged , , , , | Lascia un commento

Forza PRS-T1 browser per scaricare file con estensione. Htaccess-autenticazione

I have a php-download script that looks like this:

<?php
header("Pragma: public"); // required
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false); // required for certain browsers
header("Content-Description: File Transfer");
header("Content-Disposition: attachment; filename="$file"");
header("Content-Type: $mimeType");
header("Content-Transfer-Encoding: binary");
header("Content-Length: $size");
// 

Continua a leggere

Tagged , , , , | Lascia un commento

php authentication: everyone has access

My authentication script used to work (Credo che) but after I installed kohana and altered a few things in apache my script stopped working.
My php script is very simple:

function authentifizieren() {
    header('WWW-Authenticate: Basic realm="Test Authentication System"');
    header('HTTP/1.0 401 

Continua a leggere

Tagged , , | Lascia un commento

Dynamic Apache authentication via PHP

I would like to implement a dynamic authentication process using Apache and PHP.
My current project is break into two parts:

I have a classic LAMP project running, where users already have a login/password that I use to grant themContinua a leggere

Tagged , , , , | 1 Come

Facebook Authentication SDK Application Uso del PHP

Attualmente sto cercando di creare un'applicazione per Facebook tela e sto cercando di farlo in modo che l'utente deve verificare che vogliono autorizzare l'applicazione prima di eseguire.
I’m trying to do this with the PHPContinua a leggere

Tagged , , , | 2 Commenti

autenticazione in iOS – si può utilizzare i cookie di sessione /?

Mi piacerebbe servire informazioni da PHP ad un app iPhone in base a quale utente è loggato. Posso andare la sessione / via di cookie di autenticazione richieste dal app o devo usare qualche tipo di token di autenticazione?… Continua a leggere

Tagged , , | 1 Come
10 pagine