Xml database

hey guys.
i was wondering i have multiple swf’s that i want to make a single xml database for that information like users password and username and other codes can be saved on but i dont want the xml to be editable is there ne tutorials that cover this.
and remember i dont want it just for username and passwords im wanting it to save many other info like game codes, users playing time and such things like that.
thanks