Wiki source for secDisableSocketAccess
These are soceket based security callbacks. If they do not exist in the SecurityPlugin or if the SecurityPlugin does not exist they they are not used.
These security plugin calls then call the platform api calls
secDisableSocketAccess calls ioDisableSocketAccess -> allowSocketAccess : 0, return 1
secHasSocketAccess calls ioHasSocketAccess -> return allowSocketAccess
secCanConnectToPort calls ioCanConnectToPort -> return allowSocketAccess
secCanListenOnPort calls ioCanListenOnPort -> return allowSocketAccess
secCanCreateSocketOfType calls ioCanCreateSocketOfType -> return allowSocketAccess
Socket access is on by default, if turned off, then it's off. There is no fine grained logic,like allow listen, but not connect. It's either on for all or off.
**MacIntosh**
//os-9/OSXCarbon//
mirror of windows code
//Cocoa://
TBD
**iPhone**
mirror of windows code
**Unix**
mirror of windows code
**Windows**
Original code
**BUGS**
These security plugin calls then call the platform api calls
secDisableSocketAccess calls ioDisableSocketAccess -> allowSocketAccess : 0, return 1
secHasSocketAccess calls ioHasSocketAccess -> return allowSocketAccess
secCanConnectToPort calls ioCanConnectToPort -> return allowSocketAccess
secCanListenOnPort calls ioCanListenOnPort -> return allowSocketAccess
secCanCreateSocketOfType calls ioCanCreateSocketOfType -> return allowSocketAccess
Socket access is on by default, if turned off, then it's off. There is no fine grained logic,like allow listen, but not connect. It's either on for all or off.
**MacIntosh**
//os-9/OSXCarbon//
mirror of windows code
//Cocoa://
TBD
**iPhone**
mirror of windows code
**Unix**
mirror of windows code
**Windows**
Original code
**BUGS**