What's the difference of these two?

1. Is it all right if I smoke here?
2. Is it all right to smoke here?

Both sentences sound almost same to me.
Could you please clarify the difference?
Thanks for your help in advance.
The only difference is that 'if I' is specifically asking whether 'I' as opposed to everyone else, can smoke here.
Emotion: smile In practice they are the same, unless of course you are a member of a royal or imperial family (or similar) in which case you can probably do anything you like here, there or anywhere, but it's always polite to ask!
Cheerio Emotion: smile
No it is not, it is strictly forbidden.
 Mike in Japan's reply was promoted to an answer.