Click here to Skip to main content
15,889,096 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Asp.net Session state Pin
ZurdoDev2-Sep-14 2:13
professionalZurdoDev2-Sep-14 2:13 
GeneralRe: Asp.net Session state Pin
Otekpo Emmanuel2-Sep-14 3:57
Otekpo Emmanuel2-Sep-14 3:57 
GeneralRe: Asp.net Session state Pin
ZurdoDev2-Sep-14 4:01
professionalZurdoDev2-Sep-14 4:01 
AnswerRe: Asp.net Session state Pin
sankarsan parida5-Sep-14 20:52
professionalsankarsan parida5-Sep-14 20:52 
QuestionHow to Restore Multiple .BAK files at a time in sql server 2008 anybody can tell me the correct way Pin
Member 1104982531-Aug-14 22:30
Member 1104982531-Aug-14 22:30 
SuggestionRe: How to Restore Multiple .BAK files at a time in sql server 2008 anybody can tell me the correct way Pin
Kornfeld Eliyahu Peter31-Aug-14 22:50
professionalKornfeld Eliyahu Peter31-Aug-14 22:50 
GeneralRe: How to Restore Multiple .BAK files at a time in sql server 2008 anybody can tell me the correct way Pin
Member 1104982531-Aug-14 23:10
Member 1104982531-Aug-14 23:10 
QuestionSuggestions for ways to store secret data in a html file Pin
jkirkerx30-Aug-14 16:51
professionaljkirkerx30-Aug-14 16:51 
I'm making a content editor for my website.

To keep it simple, I will create a html file and store it in App_Data. A server control on the front end will read the html file in App_Data, and print the contents of it where its placed on the page.

I built an editor on the back end using ckEditor. Wrote a program to take the contents of the ckEditor, and write an HTML file to the App_Data folder.
So the program gets the HTML from ckEditor, passes it as a unicode string, converts it to a byte array, and writes the bytes using FileStream.

I want to store some extra stuff in the file besides HTML like
Created By:
Revision:
Template:


Without me just going off writing code on a bad idea, I thought maybe I'd try and get some suggestions

Here are some bad ideas that I have:

Write a block of XML at the beginning of the file, on read, consume the XML, then digest and print the HTML.

Just write a block of some format, and do the same as above, but what format?, XML, JSON, ?

Write a separate file such as xml, that describes the html file.

Overall, in the end, I want to be able to just read the files in the /APP_Data/CE folder so I can load a list of registered editable content within my website.

I found this, but not sure if it's viable.
http://www.howtogeek.com/howto/windows-vista/stupid-geek-tricks-hide-data-in-a-secret-text-file-compartment/[^]

Would it be possible to just make a structure, convert it to bytes, and wrap it or something, and place it at the beginning of the file?

modified 30-Aug-14 23:00pm.

AnswerRe: Suggestions for ways to store secret data in a html file Pin
Anurag Gandhi31-Aug-14 10:13
professionalAnurag Gandhi31-Aug-14 10:13 
GeneralRe: Suggestions for ways to store secret data in a html file Pin
jkirkerx31-Aug-14 10:26
professionaljkirkerx31-Aug-14 10:26 
GeneralRe: Suggestions for ways to store secret data in a html file Pin
jkirkerx31-Aug-14 11:31
professionaljkirkerx31-Aug-14 11:31 
QuestionHow to Notify change while inactive of web site developed by ASP.Net Pin
Tridip Bhattacharjee28-Aug-14 21:44
professionalTridip Bhattacharjee28-Aug-14 21:44 
QuestionIssue regarding implementing SQL Dependency in Application_Start event Pin
Tridip Bhattacharjee28-Aug-14 4:26
professionalTridip Bhattacharjee28-Aug-14 4:26 
QuestionNo relevant Source lines in visual studio 2012 Pin
swathi(MCA)27-Aug-14 19:54
swathi(MCA)27-Aug-14 19:54 
AnswerRe: No relevant Source lines in visual studio 2012 Pin
Richard MacCutchan27-Aug-14 22:23
mveRichard MacCutchan27-Aug-14 22:23 
AnswerRe: No relevant Source lines in visual studio 2012 Pin
Kornfeld Eliyahu Peter27-Aug-14 22:35
professionalKornfeld Eliyahu Peter27-Aug-14 22:35 
QuestionFlipKart Api Sample Code Pin
harshbollu26-Aug-14 19:53
harshbollu26-Aug-14 19:53 
AnswerRe: FlipKart Api Sample Code Pin
raju melveetilpurayil2-Sep-14 14:14
professionalraju melveetilpurayil2-Sep-14 14:14 
AnswerRe: FlipKart Api Sample Code Pin
Sibeesh KV29-Sep-14 1:27
professionalSibeesh KV29-Sep-14 1:27 
Questionhow to use datapager with repeater in asp.net Pin
harshbollu26-Aug-14 19:40
harshbollu26-Aug-14 19:40 
AnswerRe: how to use datapager with repeater in asp.net Pin
Richard Deeming27-Aug-14 2:36
mveRichard Deeming27-Aug-14 2:36 
GeneralRe: how to use datapager with repeater in asp.net Pin
sankarsan parida5-Sep-14 20:55
professionalsankarsan parida5-Sep-14 20:55 
QuestionCrystal report is not displaying for chrome browser but working finr with IE and firefox Pin
sma123#25-Aug-14 22:20
sma123#25-Aug-14 22:20 
AnswerRe: Crystal report is not displaying for chrome browser but working finr with IE and firefox Pin
jkirkerx26-Aug-14 9:04
professionaljkirkerx26-Aug-14 9:04 
QuestionDatalist onitemcommand Pin
Otekpo Emmanuel24-Aug-14 2:56
Otekpo Emmanuel24-Aug-14 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.