Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8090695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:48:35+00:00 2026-06-05T19:48:35+00:00

I need to store user credentials in my app. I can store and retrieve

  • 0

I need to store user credentials in my app. I can store and retrieve the password with protectdata. But as soon as I push a new revision of my app I loose the credentials. It seems like appharbor cleans the ProtectedData Store.

Is this behavior on purpose? Is there a better way to store user credentials on appharbor. OAuth is not an options since it’s a ftp account.

System.Security.Cryptography.ProtectedData
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:48:37+00:00Added an answer on June 5, 2026 at 7:48 pm

    Changes to the local instance file system are not persisted across deploys on AppHarbor, so you’ll have to store the data someplace else. We generally recommend using Amazon S3. You can use System.Security.Cryptography.ProtectedData.Protect() from the same API to encrypt data written there. Here’s some sample code: protect bytes data .net

    I’m not super familiar with this API, but you might get into trouble if you app us running on multiple AppHarbor instances using different user accounts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After a user signs in and his password is verified, I need to store
I'm at the point where I can allow the user to store credentials for
I developed an iPhone app. User need to log in to update their credentials.
I need to store the link to the image, which user has chosen. The
I need a way to store application-level data (i.e. cross user sessions) in ASP.NET.
Through the website, I need to allow the user to add attachments and store
I have an application where I need to store 3rd party credentials to services
I am coding a psychology experiment in Python. I need to store user information
Possible Duplicate: What do I need to store in the php session when user
I need to store my users' name/password somewhere (preferably the Registry) so my .Net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.