Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Vulnerability  





3 Converting for other browsers  





4 Alternatives  





5 References  














Webarchive







 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from WebArchive)

Web archive
Filename extension
.webarchive
Internet media type
application/x-webarchive
Uniform Type Identifier (UTI)com.apple.webarchive
Type of formatweb page file archive
Extended fromApple Binary Property List

webarchive is a Web archive file format available on macOS and Windows for saving and reviewing complete web pages using the Safari web browser.[1] The webarchive format differs from a standalone HTML file because it also saves linked files such as images, CSS, and JavaScript.[2] The webarchive format is a concatenation of source files with filenames saved in the binary plist format using NSKeyedArchiver.[citation needed] Support for webarchive documents was added in Safari 4 Beta on Windows and is included in subsequent versions. Safari in iOS 13 (iPhone and iPad) has support for web archive files.[3] Previously there was a third party iOS app called Web Archive Viewer that provided this functionality.

Usage

[edit]

Vulnerability

[edit]

In February 2013, a vulnerability with the webarchive format was discovered and reported by Joe Vennix, a Metasploit Project developer. The exploit allows an attacker to send a crafted webarchive to a user containing code to access cookies, local files, and other data. Apple's response to the report was that it will not fix the bug, most likely because it requires action on the users' part in opening the file.[6]

Converting for other browsers

[edit]

Workarounds to allow the file to be viewed in other browsers are possible, though specific webpage contents may hinder this process. This requires one of the free tools WebArchive Folderizer (for OS X 10.2 and higher)[1] or WebArchive Extractor (for OS X 10.4.3 and higher).[7]

Alternatives

[edit]

MAFF is an open format (with a published specification) that enables saving of whole webpages in a single file. It is currently supported by Firefox, using an extension.[8][9] Other web browsers use the MHTML format or do the equivalent by saving a directory of inline resources (usually images) alongside the HTML file, sometimes compressed, like the .war format used by Konqueror (tar+gzip or tar+bzip2). Safari does not support these alternative archive formats.

For archiving entire websites, the Internet Archive has developed the Web ARChive (WARC) format which was standardized by ISO.

HTMLD (HTML Directory) is a NeXT-developed format for saving web pages and their dependencies in a bundle that may also be served by a web server.[10]

Chrome offers the "webpage, complete" format which saves the page with a folder containing the required resources.

References

[edit]
  1. ^ a b Frakes, Dan. "De-archive Web Archives". Macworld. IDG Communications. Retrieved 15 June 2018.
  • ^ Arnott, Nick (28 April 2013). "Apple declines to fix vulnerability in Safari's Web Archive files, likely because it requires user action to exploit". iMore. Mobile Nations. Retrieved 7 February 2015.
  • ^ "iOS and IPadOS 13 Review". MacStories. Retrieved 25 September 2019.
  • ^ "iAd JS Programming Guide: Web Archives and Manifest Files". Mac Developer Library. Apple. Retrieved 7 February 2015.
  • ^ "WebArchive Class Reference". Mac Developer Library. Apple. Retrieved 7 February 2015.
  • ^ Vennix, Joe (25 April 2013). "Abusing Safari's webarchive file format". Rapid7 Metasploit. Rapid7. Retrieved 7 February 2015.
  • ^ WebArchive Extractor
  • ^ "Mozilla Archive Format, with MHT and Faithful Save". Archived from the original on 2 November 2017. Retrieved 8 December 2011.
  • ^ "WebScrapBook". Retrieved 17 November 2019.
  • ^ ".htmld Discussion".

  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Webarchive&oldid=1233741534"

    Categories: 
    Web archives
    Archive formats
    Web browsers
    Macintosh stubs
    Hidden categories: 
    Articles with short description
    Short description is different from Wikidata
    Articles needing additional references from April 2008
    All articles needing additional references
    All articles with unsourced statements
    Articles with unsourced statements from October 2008
    Articles with unsourced statements from March 2012
    All stub articles
     



    This page was last edited on 10 July 2024, at 17:09 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki