php - How to make an iPhone web app only available to certain iPhones -
im making iphone web app people need access it. whats best way make secure without having people login every time open it.
could http://www.domain.com/iphone/index.php?a=1234&b=5678
make longer strings make more secure on index.php page check equal right string?
like: if($_get["a"] == '1234' , $_get["b"] == '5678' { echo 'blah' }
...etc etc.
or there way check serial numbers or mac addresses of iphone?
you ip whitelist? or make them login once, , save persistent cookie session id.
Comments
Post a Comment