The answer to this question depends greatly on what the poster means by Storage. As has already been pointed out by others .....is it long term or short term storage??
For long term [ more than 30 days ] I like to use one of the many excellent gun greases on the market TW25B is my personal favorite.
Remember, gun oils can dissipate over time...........and leave your bore exposed to moisture.
For short term storage: Just about any grade of gun oil can be used safely
If you want to store a pistol for long term, but have it at the ready --- I would use a grease on the rails and gun oil everywhere else. No need to go crazy with either product ......moderation will work fine in this application.
JF.