I don't know what you mean by "alerts made by ITPolicy". I have never seen any way to disable the IT policy programatically on the device. In fact the only way to remove an IT policy involves wiping all data.

by ITPlolicy i mean alert like, for example when Your application connects to a server->then You get an alert asking about socket connection. or if Your application must receive sms->then You also get an alert asking about 'sms_receive'. what else.. 'ssl-socket', creating a file on BB also makes such an alert.. i must get rid of them somehow..

Not that I have ever been able to find. One of the features of the Blackberry is that applications can't do anything that the user has not approved. Starting in 4.5 (IIRC) there is the concept of "trusted applications" which allows the user to avoid approving every little thing, but it is still under the user control.

I have privately hypothesized that applications pushed from the BES may have a way to avoid this so that corporate applications don't fail because the user withholds a required permission. I have not yet had time to investigate this however.

if you could override it programmatically what would the point be of it existing? the whole idea is that an app can't help itself to your entire email backlog and address book and upload the contents to some dodgy server.

the reason i'm asking about that is first of all-they are quite annoying. and also-i'm making a background application which starts always with the device. this application is supposed to listen for sms. i cannot imagine a background application that shows alerts asking about sms!! this sucks!!

Yes - you can set the permissions for an application via the BES so any BES users won't see the modal alerts. Most consumer software will be on BIS though so these permissions are something you have to learn to love. I know they're frustrating but they do help user confidence from a security point-of-view.

The user is give the option to answer once and not be asked again, in which case they are only asked the first time the application accesses the protected API after install or upgrade.

If the application you are writing is for deployment to units on a BES then you absolutely should be talking to the BES admin. If nothing else you can off load deployment and upgrading to the BES so you don't have to worry if users are upgrading when they should. And if then know, or can learn, how to set permissions to get rid of the alerts its win win.

ok, it seems that i really cannot do with it nothing programatically..
thx for Your answers and help!

kind regards

Well... it depends a bit on your infrastructure I would say. You could make yourself an application on the BES which alters the ITPolicy. This should be pretty straightforward. You could have that application listen to your devices which on startup would send a ping to your server.