Reputation: 5523
I want to add excel spreadsheets to my webpage and prevent global access.
I mean, when only a user logs in can edit the file.but without registration can only view.
Upvotes: 0
Views: 1234
Reputation: 3
You have to first import imbedded code of excel spreadsheet then use iframe tag in your html code Example below:
<iframe width="402" height="346" frameborder="0" scrolling="no"
src="https://onedrive.live.com/embed?resid=9A8DF70E172ABC38%21114&authkey=%21AAWX1h4bOSMBGY4&em=2&AllowTyping=True&ActiveCell='EventBudget-Seminar'!A1&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=True&wdInConfigurator=True&wdInConfigurator=True&edesNext=false&ejss=false"></iframe>
Upvotes: 0
Reputation: 212412
If you're using Drupal, then Sheetnode allows you to edit an Excel workbook within a node/page.
Upvotes: 2
Reputation: 20602
Generally speaking you can not edit Excel spreadsheets within a browser, there are Live versions these days, such as the Google Docs variant, which you could use.
If you just want to provide Excel spreadsheets to download, dependent on a password then you could just supply two different versions of the same file.
A read-only (password protected) version for use by anyone, and if people are logged in, switch this to an unprotected version.
If they have Excel installed and setup in the right way, then it may be the case that the spreadsheet opens within their browser, but more likely it will download and ask to be opened.
Upvotes: 1
Reputation: 9377
I would say that the first issue you will have is: "How can a user edit a regular excel file within my website". This is a non-trivial task as there is no easy function to implement that. I would recommend to keep the data on a system that allows users to edit files simultaniosly like Google Docs etc.
Upvotes: 0
Reputation: 5016
I am not sure whether Google Spreadsheets, Zoho Spreadsheets or Editgrid can fix this.
Upvotes: 0